2014-01-17 16:33:19 -05:00
|
|
|
--source include/have_tokudb.inc
|
2013-08-02 09:31:24 -07:00
|
|
|
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;
|