On Thu, Jul 10, 2014 at 10:33:04AM +0800, 娄帅 wrote:
> In the C API, we can call mysql_query("select 1; select 2");
> which just send the command once to the server, and server
> return two result sets, So i want to know if there is a command in the
> mysqltest framework to do the job?
> I want to write a test case like that.
The client knows about statement bounds from query delimiter. By default the
delimiter is semicolon. You can change it to something else with 'delimiter'
select 1; select 2;|
Sergei Petrunia, Software Developer
MariaDB | Skype: sergefp | Blog: http://s.petrunia.net/blog