summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-12-27 01:30:20 +0200
committerMonty <monty@mariadb.org>2017-01-11 09:18:35 +0200
commit1628a2ae27cfc8b96e4b50d85d430955625e2d88 (patch)
treef830ac93d1ab02870da7398003a93bf30362160b /client
parent1afb17047a61d7666d4c3d6e5fae97ec526693ba (diff)
downloadmariadb-git-1628a2ae27cfc8b96e4b50d85d430955625e2d88.tar.gz
Fixed issues found by buildbot
- MDEV-11621 rpl.rpl_gtid_stop_start fails sporadically in buildbot - MDEV-11620 rpl.rpl_upgrade_master_info fails sporadically in buildbot The issue above was probably that the build machine was overworked and the shutdown took longer than 30 resp 10 seconds, which caused MyISAM tables to be marked as crashed. Fixed by flushing myisam tables before doing a forced shutdown/kill. I also increased timeout for forced shutdown from 10 seconds to 60 seconds to fix other possible issues on slow machines. Fixed also some compiler warnings
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index f0c56bc639c..702098fc5bc 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -5156,6 +5156,7 @@ uint get_errcode_from_name(const char *error_name, const char *error_end)
handler_error_names)))
return tmp;
die("Unknown SQL error name '%s'", error_name);
+ return 0; // Keep compiler happy
}
const char *unknown_error= "<Unknown>";