Commit bd1c1246 authored by Davi Arnaut's avatar Davi Arnaut

Workaround a compiler that does not support certain C99 features for C code.

tests/mysql_client_test.c:
  Use a suitable constant for specifying the size of the array.
parent c8c688da
......@@ -17744,8 +17744,8 @@ static void test_bug43560(void)
MYSQL_STMT *stmt= 0;
MYSQL_BIND bind;
my_bool is_null= 0;
const uint BUFSIZE= 256;
char buffer[BUFSIZE];
char buffer[256];
const uint BUFSIZE= sizeof(buffer);
const char* values[] = {"eins", "zwei", "drei", "viele", NULL};
const char insert_str[] = "INSERT INTO t1 (c2) VALUES (?)";
unsigned long length;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment