diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-07-03 13:22:06 +0500 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-07-03 13:22:06 +0500 |
commit | 5072f4da364a0e42d4a9a9267422c1c5013f77f9 (patch) | |
tree | c61beca7f9b0c101c8775660abed41660f9db71e /tests | |
parent | 5f1d2aaee7b2c7dc1a66a0c5cf6aec53b1facfec (diff) | |
download | mariadb-git-5072f4da364a0e42d4a9a9267422c1c5013f77f9.tar.gz |
Bug#42364 SHOW ERRORS returns empty resultset after dropping non existent table
enabled message storing into error message list
for 'drop table' command
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index b836293442a..73d0ab6ce1e 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -4769,6 +4769,8 @@ static void test_errors() result= mysql_store_result(mysql); mytest(result); + DIE_UNLESS(mysql_num_rows(result) == 1); + (void) my_process_result_set(result); mysql_free_result(result); } |