summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb_bugs/t/ft-index-40.test
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/mysql-test/tokudb_bugs/t/ft-index-40.test')
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/ft-index-40.test36
1 files changed, 36 insertions, 0 deletions
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/ft-index-40.test b/storage/tokudb/mysql-test/tokudb_bugs/t/ft-index-40.test
new file mode 100644
index 00000000000..56f7f787d6d
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/ft-index-40.test
@@ -0,0 +1,36 @@
+--source include/have_tokudb.inc
+let $engine='tokudb';
+
+--disable_warnings
+drop table if exists t;
+--enable_warnings
+
+connect (conn1,localhost,root,,);
+
+connection default;
+eval create table t (a varchar(50), primary key(a)) engine=$engine;
+
+insert into t values ("hello world");
+select * from t;
+
+begin;
+connection conn1;
+select * from t;
+connection default;
+
+update t set a="HELLO WORLD";
+connection conn1;
+select * from t;
+connection default;
+
+select * from t;
+rollback;
+
+connection conn1;
+select * from t;
+connection default;
+
+connection default;
+disconnect conn1;
+
+drop table t;