summaryrefslogtreecommitdiff
path: root/mysql-test/misc
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2004-06-23 23:51:40 +0200
committerunknown <guilhem@mysql.com>2004-06-23 23:51:40 +0200
commit424007ec2923fb2676c8d1b51c52ffedd10de13c (patch)
treed4d5efec5f094d88f949f9e6c0d4c72f285f5016 /mysql-test/misc
parent3220a94519f0376e1f3fb479ef305633f1ab0067 (diff)
downloadmariadb-git-424007ec2923fb2676c8d1b51c52ffedd10de13c.tar.gz
WL#1717 "binlog/innodb consistency".
Final push. Printing some warnings at startup, as --innodb-safe-binlog requires some other options, to work as expected. Adding 6 new tests (3 pairs). If they fail on some platforms (so far they have been run only on my Linux), they should be ignored for the 4.1.3 build (you can just rm mysql-test/*/rpl_crash_*). Now going to update doc. mysql-test/misc/kill_master.sh: If the mysqld process has already gone away, 'kill' will fail, so we need to explicitely exit 0, so that the non-zero return code of kill does not make mysqltest stop. sql/log.cc: VC++ does not know (ulonglong)(-1) sql/mysqld.cc: When using --innodb-safe-binlog, some options need to automatically be turned on.
Diffstat (limited to 'mysql-test/misc')
-rw-r--r--mysql-test/misc/kill_master.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/misc/kill_master.sh b/mysql-test/misc/kill_master.sh
index e9bbf7542e7..7938c9d3ac2 100644
--- a/mysql-test/misc/kill_master.sh
+++ b/mysql-test/misc/kill_master.sh
@@ -1 +1,4 @@
kill -9 `cat var/run/master.pid`
+# The kill may fail if process has already gone away,
+# so don't use the exit code of the kill. Use 0.
+exit 0