summaryrefslogtreecommitdiff
path: root/mysql-test/r/have_debug.require
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2004-06-20 19:11:02 +0200
committerguilhem@mysql.com <>2004-06-20 19:11:02 +0200
commitf5d642448777999257f8c23dd25f2e9257912870 (patch)
tree1f069b5091cf2391e994e78a943d6b484dc6fe51 /mysql-test/r/have_debug.require
parent4680a23867de7b13e07c6eb182354040535634b6 (diff)
downloadmariadb-git-f5d642448777999257f8c23dd25f2e9257912870.tar.gz
Robustness feature.
Won't be pushed as is - separate email sent for internal review. WL#1717 "binlog-innodb consistency". Now when mysqld starts, if InnoDB does a crash recovery, we use the binlog name and position retrieved from InnoDB (corresponding to the last transaction successfully committed by InnoDB) to cut any rolled back transaction from the binary log. This is triggered by the --innodb-safe-binlog option. Provided you configure mysqld to fsync() InnoDB at every commit (using flush_log_at_trx_commit) and to fsync() the binlog at every write (using --sync-binlog=1), this behaviour guarantees that a master always has consistency between binlog and InnoDB, whenever the crash happens. 6 tests to verify that it works.
Diffstat (limited to 'mysql-test/r/have_debug.require')
-rw-r--r--mysql-test/r/have_debug.require2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/have_debug.require b/mysql-test/r/have_debug.require
new file mode 100644
index 00000000000..714922cee63
--- /dev/null
+++ b/mysql-test/r/have_debug.require
@@ -0,0 +1,2 @@
+debug
+1