Commit 741a39ac authored by unknown's avatar unknown

Fix compile failure of client_test: Move DBUG_ENTER to work in standard C.

tests/client_test.c:
  Move DBUG_ENTER to work in standard C.
parent 19e3c98b
No related merge requests found
...@@ -786,9 +786,9 @@ static void client_use_result() ...@@ -786,9 +786,9 @@ static void client_use_result()
void fill_tables(const char **query_list, unsigned query_count) void fill_tables(const char **query_list, unsigned query_count)
{ {
DBUG_ENTER("fill_tables");
int rc; int rc;
const char **query; const char **query;
DBUG_ENTER("fill_tables");
for (query= query_list; query < query_list + query_count; for (query= query_list; query < query_list + query_count;
++query) ++query)
{ {
...@@ -11534,7 +11534,6 @@ static void test_bug6046() ...@@ -11534,7 +11534,6 @@ static void test_bug6046()
static void test_basic_cursors() static void test_basic_cursors()
{ {
DBUG_ENTER("test_basic_cursors");
const char *basic_tables[]= const char *basic_tables[]=
{ {
"DROP TABLE IF EXISTS t1, t2", "DROP TABLE IF EXISTS t1, t2",
...@@ -11567,6 +11566,7 @@ static void test_basic_cursors() ...@@ -11567,6 +11566,7 @@ static void test_basic_cursors()
"SELECT * FROM t2" "SELECT * FROM t2"
}; };
DBUG_ENTER("test_basic_cursors");
myheader("test_basic_cursors"); myheader("test_basic_cursors");
fill_tables(basic_tables, sizeof(basic_tables)/sizeof(*basic_tables)); fill_tables(basic_tables, sizeof(basic_tables)/sizeof(*basic_tables));
......
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