Commit 79a6e53e authored by unknown's avatar unknown

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.
parent 3da4eef7
......@@ -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 }
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment