mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
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
27 lines
391 B
Plaintext
27 lines
391 B
Plaintext
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;
|