morningman opened a new pull request #3050: [MysqlProtocol] Support MySQL 
multiple statements protocal
URL: https://github.com/apache/incubator-doris/pull/3050
 
 
   Support multiple statements in one request like:
   
   ```
   select 10; select 20; select 30;
   ```
   ISSUE: #3049 
   
   For simple testing this CL, you can using mysql-client shell command tools:
   
   ```
   mysql> delimiter 0
   mysql> select 10; select 20
   +------+
   | 1    |
   +------+
   |    1 |
   +------+
   1 row in set (0.00 sec)
   
   Query OK, 0 rows affected (0.00 sec)
   
   +------+
   | 2    |
   +------+
   |    2 |
   +------+
   1 row in set (0.01 sec)
   ```
   
   The delimiter to `0` because with default delimiter `;`, the mysql-client 
shell will
   automatically split the statements with delimiter.

----------------------------------------------------------------
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