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
57 lines
1.6 KiB
Text
57 lines
1.6 KiB
Text
#
|
|
# Make sure http://bugs.mysql.com/34053 remains fixed.
|
|
#
|
|
|
|
-- source include/not_embedded.inc
|
|
-- source include/have_innodb.inc
|
|
|
|
SET default_storage_engine=InnoDB;
|
|
|
|
# we do not really care about what gets printed, we are only
|
|
# interested in getting success or failure according to our
|
|
# expectations
|
|
-- disable_query_log
|
|
-- disable_result_log
|
|
|
|
GRANT USAGE ON *.* TO 'shane'@'localhost' IDENTIFIED BY '12345';
|
|
FLUSH PRIVILEGES;
|
|
|
|
-- connect (con1,localhost,shane,12345,)
|
|
|
|
-- connection con1
|
|
-- error ER_SPECIFIC_ACCESS_DENIED_ERROR
|
|
SET GLOBAL innodb_status_output=ON;
|
|
-- error ER_SPECIFIC_ACCESS_DENIED_ERROR
|
|
SET GLOBAL innodb_status_output_locks=ON;
|
|
|
|
CREATE TABLE innodb_monitor (a INT) ENGINE=INNODB;
|
|
DROP TABLE innodb_monitor;
|
|
CREATE TABLE innodb_mem_validate (a INT) ENGINE=INNODB;
|
|
DROP TABLE innodb_mem_validate;
|
|
CREATE TABLE innodb_sql (a INT) ENGINE=INNODB;
|
|
DROP TABLE innodb_sql;
|
|
CREATE TABLE innodb_monitorx (a INT) ENGINE=INNODB;
|
|
DROP TABLE innodb_monitorx;
|
|
CREATE TABLE innodb_monito (a INT) ENGINE=INNODB;
|
|
DROP TABLE innodb_monito;
|
|
CREATE TABLE xinnodb_monitor (a INT) ENGINE=INNODB;
|
|
DROP TABLE xinnodb_monitor;
|
|
CREATE TABLE nnodb_monitor (a INT) ENGINE=INNODB;
|
|
DROP TABLE nnodb_monitor;
|
|
|
|
-- connection default
|
|
SET GLOBAL innodb_status_output=ON;
|
|
SET GLOBAL innodb_status_output_locks=ON;
|
|
|
|
-- connection con1
|
|
-- error ER_SPECIFIC_ACCESS_DENIED_ERROR
|
|
SET GLOBAL innodb_status_output=OFF;
|
|
-- error ER_SPECIFIC_ACCESS_DENIED_ERROR
|
|
SET GLOBAL innodb_status_output_locks=OFF;
|
|
|
|
-- connection default
|
|
SET GLOBAL innodb_status_output=OFF;
|
|
SET GLOBAL innodb_status_output_locks=OFF;
|
|
DROP USER 'shane'@'localhost';
|
|
|
|
-- disconnect con1
|