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

Fix compiler warning

This commit is contained in:
Georg Richter
2017-10-25 19:07:17 +02:00
parent 7209efa5aa
commit 7e53ab3698

View File

@@ -97,7 +97,9 @@ static int test_reconnect(MYSQL *unused __attribute__((unused)))
/* we force cluster restart and promoting new primary:
* we wait for 50 seconds - however there is no guarantee that
* cluster was restarted already - so this test might fail */
system("/usr/local/aws/bin/aws rds failover-db-cluster --db-cluster-identifier instance-1-cluster");
rc= system("/usr/local/aws/bin/aws rds failover-db-cluster --db-cluster-identifier instance-1-cluster");
diag("aws return code: %d", rc);
sleep(50);
diag("Q1");