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:
parent
c2a9c4bfc1
commit
42efe0549a
@ -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;
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,7 @@ int main(int argc, char *argv[])
|
||||
Test->start_maxscale();
|
||||
|
||||
Test->repl->execute_query_all_nodes( (char *) "set global max_allowed_packet=100000000");
|
||||
Test->galera->execute_query_all_nodes( (char *) "set global max_allowed_packet=100000000");
|
||||
|
||||
Test->connect_maxscale();
|
||||
Test->repl->connect();
|
||||
|
Loading…
x
Reference in New Issue
Block a user