Commit 8963e643 authored by Yoni Fogel's avatar Yoni Fogel

Refs Tokutek/ft-index#40 Add test for transactional case insensitive tables

parent ffbd7328
drop table if exists t;
create table t (a varchar(50), primary key(a)) engine='tokudb';
insert into t values ("hello world");
select * from t;
a
hello world
begin;
select * from t;
a
hello world
update t set a="HELLO WORLD";
select * from t;
a
hello world
select * from t;
a
HELLO WORLD
rollback;
select * from t;
a
hello world
drop table t;
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;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment