summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkroki/tomash@moonlight.intranet <>2006-11-22 16:49:32 +0300
committerkroki/tomash@moonlight.intranet <>2006-11-22 16:49:32 +0300
commit3b9a8532f5d1b35d3e46d3bd7eb62d1da1681eac (patch)
tree5d32fa15a3b2120f4c179cb797573eccb3bacfae /tests
parentb290ed7a972b490feb89c161035fe172e546c283 (diff)
downloadmariadb-git-3b9a8532f5d1b35d3e46d3bd7eb62d1da1681eac.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;