Below is the list of changes that have just been committed into a local
5.1 repository of andrey. When andrey does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-05-22 18:18:39+02:00, andrey@stripped +1 -0
Test case for bug#28075
tests/mysql_client_test.c@stripped, 2007-05-22 18:18:37+02:00, andrey@stripped +23 -0
Add a test case for bug#28075 - just send COM_DEBUG and check whether
the server is still alive.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: andrey
# Host: whirlpool.mysql.com
# Root: /work/mysql-5.1-runtime
--- 1.236/tests/mysql_client_test.c 2007-04-29 16:02:16 +02:00
+++ 1.237/tests/mysql_client_test.c 2007-05-22 18:18:37 +02:00
@@ -16074,6 +16074,28 @@
/*
+ 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 @@
{ "test_status", test_status },
{ "test_bug24179", test_bug24179 },
{ "test_ps_query_cache", test_ps_query_cache },
+ { "test_bug28075", test_bug28075 },
{ 0, 0 }
};
| Thread |
|---|
| • bk commit into 5.1 tree (andrey:1.2531) BUG#28075 | andrey | 22 May |