mirror of
https://github.com/MariaDB/server.git
synced 2025-08-21 16:03:24 +03:00
Contains also MDEV-10547: Test multi_update_innodb fails with InnoDB 5.7 The failure happened because 5.7 has changed the signature of the bool handler::primary_key_is_clustered() const virtual function ("const" was added). InnoDB was using the old signature which caused the function not to be used. MDEV-10550: Parallel replication lock waits/deadlock handling does not work with InnoDB 5.7 Fixed mutexing problem on lock_trx_handle_wait. Note that rpl_parallel and rpl_optimistic_parallel tests still fail. MDEV-10156 : Group commit tests fail on 10.2 InnoDB (branch bb-10.2-jan) Reason: incorrect merge MDEV-10550: Parallel replication can't sync with master in InnoDB 5.7 (branch bb-10.2-jan) Reason: incorrect merge
61 lines
1.9 KiB
Plaintext
61 lines
1.9 KiB
Plaintext
--source include/have_innodb.inc
|
|
--source include/have_innodb_zip.inc
|
|
--source include/big_test.inc
|
|
|
|
####################################################################
|
|
# TC to test temp-table DML optimization changes for correctness #
|
|
# Sceanrio covered: #
|
|
# 1. bulk-insert with rollback + commit: this will ensure btree #
|
|
# node split with rollback and commit. #
|
|
####################################################################
|
|
|
|
#-------------------------------------------------------------------
|
|
#
|
|
# 1. bulk-insert with rollback + commit: this will ensure btree #
|
|
# node split with rollback and commit. #
|
|
#
|
|
create temporary table t1
|
|
(keyc int, c1 char(100), c2 char(100),
|
|
primary key(keyc), index sec_index(c1)
|
|
) engine = innodb;
|
|
create temporary table t2
|
|
(keyc int, c1 char(100), c2 char(100),
|
|
primary key(keyc), index sec_index(c1)
|
|
) engine = innodb;
|
|
--source suite/innodb_zip/include/innodb_dml_ops.inc
|
|
drop table t1;
|
|
drop table t2;
|
|
#
|
|
--disable_warnings
|
|
create temporary table t1
|
|
(keyc int, c1 char(100), c2 char(100),
|
|
primary key(keyc), index sec_index(c1)
|
|
) engine = innodb key_block_size = 4;
|
|
set innodb_strict_mode=off;
|
|
create temporary table t2
|
|
(keyc int, c1 char(100), c2 char(100),
|
|
primary key(keyc), index sec_index(c1)
|
|
) engine = innodb key_block_size = 8;
|
|
set innodb_strict_mode=default;
|
|
--enable_warnings
|
|
--source suite/innodb_zip/include/innodb_dml_ops.inc
|
|
drop table t1;
|
|
drop table t2;
|
|
#
|
|
let $file_per_table = `select @@innodb_file_per_table`;
|
|
set global innodb_file_per_table = 0;
|
|
create temporary table t1
|
|
(keyc int, c1 char(100), c2 char(100),
|
|
primary key(keyc), index sec_index(c1)
|
|
) engine = innodb;
|
|
create temporary table t2
|
|
(keyc int, c1 char(100), c2 char(100),
|
|
primary key(keyc), index sec_index(c1)
|
|
) engine = innodb;
|
|
--source suite/innodb_zip/include/innodb_dml_ops.inc
|
|
drop table t1;
|
|
drop table t2;
|
|
eval set global innodb_file_per_table = $file_per_table;
|
|
#
|
|
|