mirror of
https://github.com/MariaDB/server.git
synced 2025-08-23 03:54:27 +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
24 lines
958 B
Plaintext
24 lines
958 B
Plaintext
CREATE TEMPORARY TABLE table_54044 ENGINE = INNODB
|
|
AS SELECT IF(NULL IS NOT NULL, NULL, NULL);
|
|
SHOW CREATE TABLE table_54044;
|
|
Table Create Table
|
|
table_54044 CREATE TEMPORARY TABLE `table_54044` (
|
|
`IF(NULL IS NOT NULL, NULL, NULL)` binary(0) DEFAULT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
|
DROP TABLE table_54044;
|
|
CREATE TABLE tmp ENGINE = INNODB AS SELECT COALESCE(NULL, NULL, NULL), GREATEST(NULL, NULL), NULL;
|
|
SHOW CREATE TABLE tmp;
|
|
Table Create Table
|
|
tmp CREATE TABLE `tmp` (
|
|
`COALESCE(NULL, NULL, NULL)` binary(0) DEFAULT NULL,
|
|
`GREATEST(NULL, NULL)` binary(0) DEFAULT NULL,
|
|
`NULL` binary(0) DEFAULT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
|
DROP TABLE tmp;
|
|
CREATE TABLE t1 (a VARCHAR(3)) ENGINE=InnoDB;
|
|
INSERT INTO t1 VALUES ('foo'),('bar');
|
|
FLUSH TABLES;
|
|
CREATE TEMPORARY TABLE tmp ENGINE=InnoDB AS SELECT VALUES(a) FROM t1;
|
|
ERROR HY000: Can't create table `test`.`tmp` (errno: 168 "Unknown (generic) error from engine")
|
|
DROP TABLE t1;
|