mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
Refs Tokutek/ft-index#40 Add test for transactional case insensitive tables
This commit is contained in:
parent
ffbd732830
commit
8963e6431d
2 changed files with 57 additions and 0 deletions
22
mysql-test/suite/tokudb.bugs/r/ft-index-40.result
Normal file
22
mysql-test/suite/tokudb.bugs/r/ft-index-40.result
Normal file
|
@ -0,0 +1,22 @@
|
|||
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;
|
35
mysql-test/suite/tokudb.bugs/t/ft-index-40.test
Normal file
35
mysql-test/suite/tokudb.bugs/t/ft-index-40.test
Normal file
|
@ -0,0 +1,35 @@
|
|||
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;
|
Loading…
Add table
Reference in a new issue