mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +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
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
DROP TABLE IF EXISTS t1;
|
|
SET GLOBAL innodb_file_per_table = 1;
|
|
SELECT @@innodb_file_per_table;
|
|
@@innodb_file_per_table
|
|
1
|
|
SET AUTOCOMMIT = 0;
|
|
CREATE DATABASE testdb_wl5522;
|
|
CREATE TABLE testdb_wl5522.t1 (c1 int ) engine = Innodb;
|
|
BEGIN;
|
|
INSERT INTO testdb_wl5522.t1 VALUES (1),(123),(331);
|
|
ROLLBACK;
|
|
SELECT c1 FROM testdb_wl5522.t1;
|
|
c1
|
|
FLUSH TABLES testdb_wl5522.t1 FOR EXPORT;
|
|
backup: t1
|
|
UNLOCK TABLES;
|
|
DROP TABLE testdb_wl5522.t1;
|
|
CREATE TABLE testdb_wl5522.t1 (c1 int ) ENGINE = Innodb;
|
|
ALTER TABLE testdb_wl5522.t1 DISCARD TABLESPACE;
|
|
restore: t1 .ibd and .cfg files
|
|
ALTER TABLE testdb_wl5522.t1 IMPORT TABLESPACE;
|
|
CHECK TABLE testdb_wl5522.t1;
|
|
Table Op Msg_type Msg_text
|
|
testdb_wl5522.t1 check status OK
|
|
SELECT c1 FROM testdb_wl5522.t1;
|
|
c1
|
|
SET AUTOCOMMIT = 1;
|
|
DROP TABLE testdb_wl5522.t1;
|
|
DROP DATABASE testdb_wl5522;
|
|
SET GLOBAL INNODB_FILE_FORMAT=Barracuda;
|
|
Warnings:
|
|
Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html
|
|
SET GLOBAL INNODB_FILE_PER_TABLE=1;
|