summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Prohaska <prohaska@tokutek.com>2014-04-25 09:52:51 -0400
committerRich Prohaska <prohaska@tokutek.com>2014-04-25 09:52:51 -0400
commit77087f0cf83b4e37488b26bf3c9a0dc309e3ae40 (patch)
tree2413ea8e9bb46771594c447abe2e74e368b64285
parent8c11ea31d5a7adedf0e7655103a462eab5c51bdb (diff)
downloadmariadb-git-77087f0cf83b4e37488b26bf3c9a0dc309e3ae40.tar.gz
#212 test case for mdev-4533
-rw-r--r--mysql-test/suite/tokudb.bugs/r/mdev4533.result5
-rw-r--r--mysql-test/suite/tokudb.bugs/t/mdev4533.test9
2 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/suite/tokudb.bugs/r/mdev4533.result b/mysql-test/suite/tokudb.bugs/r/mdev4533.result
new file mode 100644
index 00000000000..8a53e820d7a
--- /dev/null
+++ b/mysql-test/suite/tokudb.bugs/r/mdev4533.result
@@ -0,0 +1,5 @@
+DROP TABLE IF EXISTS t1;
+CREATE TABLE t1 (a INT(11), b CHAR(8)) ENGINE=TokuDB;
+INSERT INTO t1 (a,b) VALUES (10000,'foobar'),(1,'a'),(2,'b'),(3,'c'),(4,'d'),(5,'e');
+DELETE IGNORE FROM t1;
+drop table t1;
diff --git a/mysql-test/suite/tokudb.bugs/t/mdev4533.test b/mysql-test/suite/tokudb.bugs/t/mdev4533.test
new file mode 100644
index 00000000000..87f64dc704f
--- /dev/null
+++ b/mysql-test/suite/tokudb.bugs/t/mdev4533.test
@@ -0,0 +1,9 @@
+source include/have_tokudb.inc;
+source include/have_binlog_format_row.inc;
+disable_warnings;
+DROP TABLE IF EXISTS t1;
+enable_warnings;
+CREATE TABLE t1 (a INT(11), b CHAR(8)) ENGINE=TokuDB;
+INSERT INTO t1 (a,b) VALUES (10000,'foobar'),(1,'a'),(2,'b'),(3,'c'),(4,'d'),(5,'e');
+DELETE IGNORE FROM t1;
+drop table t1; \ No newline at end of file