summaryrefslogtreecommitdiff
path: root/storage/innodb_plugin/mysql-test/innodb_bug45357.test
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innodb_plugin/mysql-test/innodb_bug45357.test')
-rw-r--r--storage/innodb_plugin/mysql-test/innodb_bug45357.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/storage/innodb_plugin/mysql-test/innodb_bug45357.test b/storage/innodb_plugin/mysql-test/innodb_bug45357.test
new file mode 100644
index 00000000000..81727f352dd
--- /dev/null
+++ b/storage/innodb_plugin/mysql-test/innodb_bug45357.test
@@ -0,0 +1,10 @@
+-- source include/have_innodb.inc
+
+set session transaction isolation level read committed;
+
+create table bug45357(a int, b int,key(b))engine=innodb;
+insert into bug45357 values (25170,6122);
+update bug45357 set a=1 where b=30131;
+delete from bug45357 where b < 20996;
+delete from bug45357 where b < 7001;
+drop table bug45357;