mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
33 lines
500 B
Plaintext
33 lines
500 B
Plaintext
drop table if exists t1, t2;
|
|
SET binlog_format = 'mixed';
|
|
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=innodb;
|
|
CREATE TABLE t2 (b INT PRIMARY KEY) ENGINE=pbxt;
|
|
BEGIN;
|
|
SELECT @@log_bin;
|
|
@@log_bin
|
|
1
|
|
INSERT INTO t1 VALUES (1);
|
|
INSERT INTO t2 VALUES (2);
|
|
COMMIT;
|
|
select * from t1;
|
|
a
|
|
1
|
|
select * from t2;
|
|
b
|
|
2
|
|
SET sql_log_bin = 0;
|
|
BEGIN;
|
|
INSERT INTO t1 VALUES (3);
|
|
INSERT INTO t2 VALUES (4);
|
|
COMMIT;
|
|
select * from t1 order by a;
|
|
a
|
|
1
|
|
3
|
|
select * from t2 order by b;
|
|
b
|
|
2
|
|
4
|
|
drop table t1, t2;
|
|
drop database pbxt;
|