morningman opened a new issue #3139: [Bug] Python throw Commands out of sync; 
you can't run this command now
URL: https://github.com/apache/incubator-doris/issues/3139
 
 
   **Describe the bug**
   When using Python Mysqldb library to execute sql on Doris. Some time it will 
throw
   error:
   ```
   Commands out of sync; you can't run this command now
   ```
   
   **To Reproduce**
   
   1. Execute sql like: 
   
   ```
   execute("insert into table tbl1 select * from tbl2;")
   ```
   
   Notice that there is a `;` at the end of the statement.
   
   2. If the `insert` statement has some warnings, then the error will throw.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to