mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
Test case for bug#28075
tests/mysql_client_test.c: Add a test case for bug#28075 - just send COM_DEBUG and check whether the server is still alive.
This commit is contained in:
parent
3da4eef700
commit
79a6e53ea0
1 changed files with 23 additions and 0 deletions
|
@ -16073,6 +16073,28 @@ static void test_bug24179()
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
Bug#28075 "COM_DEBUG crashes mysqld"
|
||||
*/
|
||||
|
||||
static void test_bug28075()
|
||||
{
|
||||
int rc;
|
||||
MYSQL_STMT *stmt;
|
||||
|
||||
DBUG_ENTER("test_bug28075");
|
||||
myheader("test_bug28075");
|
||||
|
||||
rc= mysql_dump_debug_info(mysql);
|
||||
DIE_UNLESS(rc == 0);
|
||||
|
||||
rc= mysql_ping(mysql);
|
||||
DIE_UNLESS(rc == 0);
|
||||
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Read and parse arguments and MySQL options from my.cnf
|
||||
*/
|
||||
|
@ -16357,6 +16379,7 @@ static struct my_tests_st my_tests[]= {
|
|||
{ "test_status", test_status },
|
||||
{ "test_bug24179", test_bug24179 },
|
||||
{ "test_ps_query_cache", test_ps_query_cache },
|
||||
{ "test_bug28075", test_bug28075 },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue