summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkroki/tomash@moonlight.intranet <>2006-11-22 16:51:20 +0300
committerkroki/tomash@moonlight.intranet <>2006-11-22 16:51:20 +0300
commit160f28084e0ce92a8a9e6e4f30df9eaa22320ae5 (patch)
tree19ff98e4e7879aca960712fe078a97e80619a4bd /tests
parent7488a4d0fe3a392c307049753838fb3d6e5c785a (diff)
downloadmariadb-git-160f28084e0ce92a8a9e6e4f30df9eaa22320ae5.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 16fa4152ed1..5d25daee411 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -15604,7 +15604,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;