bli22ard commented on issue #37690:
URL: https://github.com/apache/doris/issues/37690#issuecomment-2530516502
same problem.
i am using Rust mysql crate version 25.0.1.
``` sql
create table t(
t1 varchar(4000) comment "t1"
);
insert into t(t1) values (?)
```
Cargo.toml
```toml
[dependencies]
mysql = {version = "25.0.1"}
```
```rust
let url =
"mysql://[email protected]:9030/tt?pool_min=1&pool_max=1&reset_connection=false";
let pool = Pool::new(url)?;
let con=pool.get_conn()?;
let p=vec!["rust"];
"insert into t(t1) values (?)".with(p).run(con)?;
```
# The following is the incorrect doris server response
client send prepare statement
1d00000016696e7365727420696e746f2074287431292076616c75657320283f29
doris server apache-doris-3.0.3-bin-x64 reponse
0a000001009306000000000100001a000002036465660000000224300224300c2100ff000000fc000000000005000003fe00000000

# The following is the correct MySQL server response
client send prepare statement
1d00000016696e7365727420696e746f2074287431292076616c75657320283f29
mysql server 5.7.44 reponse
0c0000010001000000000001000000001700000203646566000000013f000c3f0000000000fd8000000000

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]