mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
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.
This commit is contained in:
parent
c8c688daa8
commit
bd1c124681
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue