mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 19:25:32 +02:00
Merge mysql.com:/home/hf/work/mrg/my50-mrg
into mysql.com:/home/hf/work/mrg/my51-mrg sql/mysqld.cc: Auto merged sql/protocol.cc: Auto merged storage/federated/ha_federated.cc: Auto merged tests/mysql_client_test.c: Auto merged include/mysql_com.h: merging libmysqld/lib_sql.cc: merging mysql-test/r/federated.result: merging mysql-test/t/federated.test: merging storage/federated/ha_federated.h: mergin
This commit is contained in:
commit
51f5ac6b29
9 changed files with 201 additions and 12 deletions
|
|
@ -5914,6 +5914,20 @@ DROP TABLE IF EXISTS test_multi_tab";
|
|||
(void) my_process_result_set(result);
|
||||
mysql_free_result(result);
|
||||
|
||||
/*
|
||||
Check if errors in one of the queries handled properly.
|
||||
*/
|
||||
rc= mysql_query(mysql_local, "select 1; select * from not_existing_table");
|
||||
myquery(rc);
|
||||
result= mysql_store_result(mysql_local);
|
||||
mysql_free_result(result);
|
||||
|
||||
rc= mysql_next_result(mysql_local);
|
||||
DIE_UNLESS(rc > 0);
|
||||
|
||||
rc= mysql_next_result(mysql_local);
|
||||
DIE_UNLESS(rc < 0);
|
||||
|
||||
mysql_close(mysql_local);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue