summaryrefslogtreecommitdiff
path: root/mysql-test/r/consistent_snapshot.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/consistent_snapshot.result')
-rw-r--r--mysql-test/r/consistent_snapshot.result15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/r/consistent_snapshot.result b/mysql-test/r/consistent_snapshot.result
new file mode 100644
index 00000000000..90606abbe4e
--- /dev/null
+++ b/mysql-test/r/consistent_snapshot.result
@@ -0,0 +1,15 @@
+drop table if exists t1;
+create table t1 (a int) engine=innodb;
+start transaction with consistent snapshot;
+insert into t1 values(1);
+select * from t1;
+a
+commit;
+delete from t1;
+start transaction;
+insert into t1 values(1);
+select * from t1;
+a
+1
+commit;
+drop table t1;