mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Workaround a compiler that does not support certain C99 features for C code.
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user