diff options
author | Monty <monty@mariadb.org> | 2016-12-27 01:30:20 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2017-01-11 09:18:35 +0200 |
commit | 1628a2ae27cfc8b96e4b50d85d430955625e2d88 (patch) | |
tree | f830ac93d1ab02870da7398003a93bf30362160b /client | |
parent | 1afb17047a61d7666d4c3d6e5fae97ec526693ba (diff) | |
download | mariadb-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.cc | 1 |
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>"; |