1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Several test fixes

This commit is contained in:
holzboote@googlemail.com
2013-07-24 07:01:48 +02:00
parent ab2403287d
commit 077afd8e10
7 changed files with 39 additions and 18 deletions

View File

@@ -499,7 +499,7 @@ static int test_reconnect_maxpackage(MYSQL *my)
mysql_free_result(res);
query= (char *)malloc(max_packet + 30);
memset(query, 0, max_packet);
memset(query, 0, max_packet + 30);
strcpy(query, "SELECT '");
memset(query + 8, 'A', max_packet);