summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/crash_commit_before.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/crash_commit_before.result')
-rw-r--r--mysql-test/main/crash_commit_before.result14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/main/crash_commit_before.result b/mysql-test/main/crash_commit_before.result
new file mode 100644
index 00000000..359d5851
--- /dev/null
+++ b/mysql-test/main/crash_commit_before.result
@@ -0,0 +1,14 @@
+CREATE TABLE t1(a int) engine=innodb;
+START TRANSACTION;
+insert into t1 values(9);
+SET GLOBAL debug_dbug="d,crash_commit_before";
+COMMIT;
+ERROR HY000: Lost connection to server during query
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+SELECT * FROM t1;
+a
+DROP TABLE t1;