mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
20031c6273
sql/create_options.cc: an utility function to compare two filled-in engine_option structures sql/sql_table.cc: * two keys are different if their option_struct's differ (for ALTER TABLE DROP key, ADD key) * engines doing inplace alter must see the new frm image
26 lines
391 B
Text
26 lines
391 B
Text
drop table if exists t1;
|
|
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=tokudb;
|
|
xa begin 'a','ab';
|
|
insert into t1 values (1);
|
|
select * from t1;
|
|
a
|
|
1
|
|
xa end 'a','ab';
|
|
xa prepare 'a','ab';
|
|
xa commit 'a','ab';
|
|
select * from t1;
|
|
a
|
|
1
|
|
xa begin 'a','ab';
|
|
insert into t1 values (2);
|
|
select * from t1;
|
|
a
|
|
1
|
|
2
|
|
xa end 'a','ab';
|
|
xa prepare 'a','ab';
|
|
xa rollback 'a','ab';
|
|
select * from t1;
|
|
a
|
|
1
|
|
drop table t1;
|