mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@@ -8615,7 +8615,8 @@ static void test_mem_overun()
|
||||
char buffer[10000], field[10];
|
||||
MYSQL_STMT *stmt;
|
||||
MYSQL_RES *field_res;
|
||||
int rc, i, length;
|
||||
int rc, length;
|
||||
unsigned i;
|
||||
|
||||
myheader("test_mem_overun");
|
||||
|
||||
@@ -8629,7 +8630,7 @@ static void test_mem_overun()
|
||||
strxmov(buffer, "create table t_mem_overun(", NullS);
|
||||
for (i= 0; i < 1000; i++)
|
||||
{
|
||||
sprintf(field, "c%d int", i);
|
||||
sprintf(field, "c%u int", i);
|
||||
strxmov(buffer, buffer, field, ", ", NullS);
|
||||
}
|
||||
length= strlen(buffer);
|
||||
|
Reference in New Issue
Block a user