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://root@192.168.1.46: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
   
   
![QQ_1733809833456](https://github.com/user-attachments/assets/b369f772-91e9-4134-aefa-4001e3e85599)
   
   
   
   # The following is the correct MySQL server response
   
   client send prepare statement 
   1d00000016696e7365727420696e746f2074287431292076616c75657320283f29
   
   mysql  server 5.7.44 reponse
   
0c0000010001000000000001000000001700000203646566000000013f000c3f0000000000fd8000000000
   
   
   
![QQ_1733810269353](https://github.com/user-attachments/assets/d6da2c5a-7ef3-4c18-afc2-cd909f81beea)
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to