summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb_bugs/t/1711.test
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/mysql-test/tokudb_bugs/t/1711.test')
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/1711.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/1711.test b/storage/tokudb/mysql-test/tokudb_bugs/t/1711.test
new file mode 100644
index 00000000000..c6a14b2b216
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/1711.test
@@ -0,0 +1,21 @@
+--source include/have_tokudb.inc
+#
+# Record inconsistency.
+#
+#
+SET DEFAULT_STORAGE_ENGINE = 'tokudb';
+
+--disable_warnings
+DROP TABLE IF EXISTS foo;
+--enable_warnings
+create table foo (a int, b int, c int, key (a) clustering=yes)engine=tokudb;
+
+insert into foo values (1,1,1),(1,2,2),(1,3,3),(2,1,4),(2,2,5),(2,3,6),(3,1,7),(3,2,8);
+
+--replace_column 9 NULL;
+explain select * From foo where a = 2;
+select * From foo where a = 2;
+
+# Final cleanup.
+DROP TABLE foo;
+