Commit d30375be authored by Davi Arnaut's avatar Davi Arnaut

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

parent e2aad850
...@@ -17744,8 +17744,8 @@ static void test_bug43560(void) ...@@ -17744,8 +17744,8 @@ static void test_bug43560(void)
MYSQL_STMT *stmt= 0; MYSQL_STMT *stmt= 0;
MYSQL_BIND bind; MYSQL_BIND bind;
my_bool is_null= 0; my_bool is_null= 0;
const uint BUFSIZE= 256; char buffer[256];
char buffer[BUFSIZE]; const uint BUFSIZE= sizeof(buffer);
const char* values[] = {"eins", "zwei", "drei", "viele", NULL}; const char* values[] = {"eins", "zwei", "drei", "viele", NULL};
const char insert_str[] = "INSERT INTO t1 (c2) VALUES (?)"; const char insert_str[] = "INSERT INTO t1 (c2) VALUES (?)";
unsigned long length; 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