summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-11-10 16:49:44 +0300
committerunknown <konstantin@mysql.com>2004-11-10 16:49:44 +0300
commit741a39ac57ee09351ce27937f52f03bb3ee95e61 (patch)
tree0b523fc79a0bbfd8b37504647dd91730cfb91f4d /tests
parent19e3c98b874f2e11e30ae8f47e157430cc2f8d70 (diff)
downloadmariadb-git-741a39ac57ee09351ce27937f52f03bb3ee95e61.tar.gz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/client_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/client_test.c b/tests/client_test.c
index 6ce33789aba..e03be170a03 100644
--- a/tests/client_test.c
+++ b/tests/client_test.c
@@ -786,9 +786,9 @@ static void client_use_result()
void fill_tables(const char **query_list, unsigned query_count)
{
- DBUG_ENTER("fill_tables");
int rc;
const char **query;
+ DBUG_ENTER("fill_tables");
for (query= query_list; query < query_list + query_count;
++query)
{
@@ -11534,7 +11534,6 @@ static void test_bug6046()
static void test_basic_cursors()
{
- DBUG_ENTER("test_basic_cursors");
const char *basic_tables[]=
{
"DROP TABLE IF EXISTS t1, t2",
@@ -11567,6 +11566,7 @@ static void test_basic_cursors()
"SELECT * FROM t2"
};
+ DBUG_ENTER("test_basic_cursors");
myheader("test_basic_cursors");
fill_tables(basic_tables, sizeof(basic_tables)/sizeof(*basic_tables));