summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlenz@kallisto.local <>2003-11-26 15:22:30 +0100
committerlenz@kallisto.local <>2003-11-26 15:22:30 +0100
commit6549791f2151c3bee95eee030c64d1817098fe72 (patch)
tree9555cbd0345f785b4ed007394e8a1eec41ef31f8 /tests
parent3e9338f845faf8679549ac68e6e5d7cda5cfaba1 (diff)
downloadmariadb-git-6549791f2151c3bee95eee030c64d1817098fe72.tar.gz
- fixed compile error in tests/client_test.c
(declarations should be on top of a block)
Diffstat (limited to 'tests')
-rw-r--r--tests/client_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client_test.c b/tests/client_test.c
index d2d77c9965c..e074d46a788 100644
--- a/tests/client_test.c
+++ b/tests/client_test.c
@@ -8069,9 +8069,9 @@ static void test_bug1946()
{
MYSQL_STMT *stmt;
int rc;
+ const char *query= "INSERT INTO prepare_command VALUES (?)";
myheader("test_bug1946");
- const char *query= "INSERT INTO prepare_command VALUES (?)";
rc = mysql_query(mysql, "DROP TABLE IF EXISTS prepare_command");
myquery(rc);