Add error messages and increse to max_allowed_packet in mxs1110_16mb

The test now logs why it fails to perform some action in addition to
setting max_allowed_packet to both master-slave and Galera clusters.
This commit is contained in:
Markus Mäkelä
2017-08-25 12:19:27 +03:00
parent c2a9c4bfc1
commit 42efe0549a
2 changed files with 3 additions and 2 deletions

View File

@ -148,7 +148,7 @@ int check_longblob_data(TestConnections* Test, MYSQL * conn, unsigned long chunk
*/
if (mysql_stmt_bind_result(stmt, result) != 0)
{
printf("Could not bind results\n");
printf("Could not bind results: %s\n", mysql_stmt_error(stmt));
return 1;
}
@ -159,7 +159,7 @@ int check_longblob_data(TestConnections* Test, MYSQL * conn, unsigned long chunk
if (mysql_stmt_store_result(stmt) != 0)
{
printf("Could not buffer result set\n");
printf("Could not buffer result set: %s\n", mysql_stmt_error(stmt));
return 1;
}