summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <kroki/tomash@moonlight.intranet>2006-11-22 16:49:32 +0300
committerunknown <kroki/tomash@moonlight.intranet>2006-11-22 16:49:32 +0300
commit247428a1426a927e48843da378b75d6ad6d77f8a (patch)
tree5d32fa15a3b2120f4c179cb797573eccb3bacfae /tests
parent74dff152265ecd0ae03c638702d7b98908829ede (diff)
downloadmariadb-git-247428a1426a927e48843da378b75d6ad6d77f8a.tar.gz
After merge fixes: remove const and add query buffer.
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 473a3f1f6c2..c88252e6190 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -15403,7 +15403,8 @@ static void test_bug21635()
"COUNT(i)", "COUNT(i)",
"COUNT(i) AS A3", "A3",
};
- const char *query_end;
+ char query[MAX_TEST_QUERY_LENGTH];
+ char *query_end;
MYSQL_RES *result;
MYSQL_FIELD *field;
unsigned int field_count, i;