mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.1' into 10.2
This commit is contained in:
@ -9,6 +9,8 @@ source include/have_binlog_format_row.inc;
|
||||
|
||||
source include/have_innodb.inc;
|
||||
|
||||
select @@encrypt_tmp_files;
|
||||
|
||||
#
|
||||
# MyISAM messing around with IO_CACHE::file
|
||||
#
|
||||
@ -29,6 +31,7 @@ update t1 set c=v, t=v;
|
||||
select sql_big_result t,count(t) from t1 group by t limit 10;
|
||||
drop table t1;
|
||||
|
||||
reset master;
|
||||
set global binlog_cache_size=8192;
|
||||
|
||||
connect con1, localhost, root;
|
||||
@ -46,7 +49,6 @@ commit;
|
||||
start transaction;
|
||||
insert t1 select repeat(seq, 1000) from seq_1_to_8;
|
||||
commit;
|
||||
drop table t1;
|
||||
|
||||
disconnect con1;
|
||||
connect con2, localhost, root;
|
||||
@ -56,17 +58,27 @@ connect con2, localhost, root;
|
||||
# Start a transaction, write until the cache goes to disk,
|
||||
# create a savepoint, write more blocks to disk, rollback to savepoint.
|
||||
#
|
||||
create table t1 (a text) engine=innodb;
|
||||
create table t2 (a text) engine=innodb;
|
||||
start transaction;
|
||||
insert t1 select repeat(seq, 1000) from seq_1_to_15;
|
||||
insert t2 select repeat(seq, 1000) from seq_1_to_15;
|
||||
savepoint foo;
|
||||
insert t1 select repeat(seq, 1000) from seq_16_to_30;
|
||||
insert t2 select repeat(seq, 1000) from seq_16_to_30;
|
||||
rollback to savepoint foo;
|
||||
insert t1 select repeat(seq, 1000) from seq_31_to_40;
|
||||
insert t2 select repeat(seq, 1000) from seq_31_to_40;
|
||||
commit;
|
||||
drop table t1;
|
||||
|
||||
disconnect con2;
|
||||
connection default;
|
||||
|
||||
flush binary logs;
|
||||
|
||||
drop table t1, t2;
|
||||
|
||||
set global binlog_cache_size=default;
|
||||
|
||||
let $MYSQLD_DATADIR= `select @@datadir`;
|
||||
exec $MYSQL_BINLOG $MYSQLD_DATADIR/master-bin.000001 | $MYSQL;
|
||||
|
||||
select left(a, 10) from t1;
|
||||
select left(a, 10) from t2;
|
||||
drop table t1, t2;
|
||||
|
Reference in New Issue
Block a user