mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
2e814d4702
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
22 lines
676 B
Text
22 lines
676 B
Text
-- source include/have_innodb.inc
|
|
-- source include/have_innodb_zip.inc
|
|
|
|
let $file_per_table=`select @@innodb_file_per_table`;
|
|
|
|
SET GLOBAL innodb_file_per_table=on;
|
|
SET GLOBAL innodb_strict_mode=on;
|
|
|
|
set old_alter_table=0;
|
|
|
|
CREATE TABLE bug53591(a text charset utf8 not null)
|
|
ENGINE=InnoDB KEY_BLOCK_SIZE=1;
|
|
-- replace_result 8126 {checked_valid} 4030 {checked_valid} 1982 {checked_valid}
|
|
-- error ER_TOO_BIG_ROWSIZE
|
|
ALTER TABLE bug53591 ADD PRIMARY KEY(a(220));
|
|
-- replace_result 8126 {checked_valid} 4030 {checked_valid} 1982 {checked_valid}
|
|
SHOW WARNINGS;
|
|
|
|
DROP TABLE bug53591;
|
|
|
|
EVAL SET GLOBAL innodb_file_per_table=$file_per_table;
|
|
SET GLOBAL innodb_strict_mode=DEFAULT;
|