mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
35 lines
551 B
Text
35 lines
551 B
Text
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;
|