mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch 'bb-10.3-all-builders' into bb-10.4-all-builders
This commit is contained in:
@ -8,6 +8,7 @@ WHERE VARIABLE_NAME LIKE 'HANDLER_%' AND VARIABLE_VALUE > 0;
|
||||
--echo #
|
||||
--echo # Bug#13559657: PARTITION SELECTION DOES NOT WORK WITH VIEWS
|
||||
--echo #
|
||||
--disable_view_protocol
|
||||
CREATE TABLE t1 (a int)
|
||||
ENGINE = InnoDB
|
||||
PARTITION BY HASH (a) PARTITIONS 2;
|
||||
@ -83,7 +84,7 @@ SELECT * FROM v1;
|
||||
SELECT * FROM t1;
|
||||
DROP VIEW v1;
|
||||
DROP TABLE t1;
|
||||
|
||||
--enable_service_connection
|
||||
--echo # Original tests for WL#5217
|
||||
|
||||
--echo # Must have InnoDB as engine to get the same statistics results.
|
||||
@ -99,7 +100,7 @@ eval $get_handler_status_counts;
|
||||
eval $get_handler_status_counts;
|
||||
--echo # OK, seems to add number of variables processed before HANDLER_WRITE
|
||||
--echo # and number of variables + 1 evaluated in the previous call in RND_NEXT
|
||||
|
||||
--disable_service_connection
|
||||
CREATE TABLE t1
|
||||
(a INT NOT NULL,
|
||||
b varchar (64),
|
||||
@ -620,7 +621,7 @@ eval $get_handler_status_counts;
|
||||
SELECT * FROM t3 PARTITION (pNeg);
|
||||
|
||||
DROP TABLE t1, t2, t3;
|
||||
#
|
||||
--enable_view_protocol
|
||||
--echo # Test from superseeded WL# 2682
|
||||
# Partition select tests.
|
||||
#
|
||||
@ -844,11 +845,12 @@ DROP TABLE t1;
|
||||
--echo #
|
||||
--echo # Test explicit partition selection on a non partitioned temp table
|
||||
--echo #
|
||||
--disable_view_protocol
|
||||
CREATE TEMPORARY TABLE t1 (a INT);
|
||||
--error ER_PARTITION_CLAUSE_ON_NONPARTITIONED
|
||||
SELECT * FROM t1 PARTITION(pNonexisting);
|
||||
DROP TEMPORARY TABLE t1;
|
||||
|
||||
--enable_view_protocol
|
||||
--echo #
|
||||
--echo # Test CREATE LIKE does not take PARTITION clause
|
||||
--echo #
|
||||
@ -863,6 +865,7 @@ SET @@default_storage_engine = @old_default_storage_engine;
|
||||
--echo #
|
||||
--echo # MDEV-14815 - Server crash or AddressSanitizer errors or valgrind warnings in thr_lock / has_old_lock upon FLUSH TABLES
|
||||
--echo #
|
||||
--disable_service_connection
|
||||
CREATE TABLE t1 (i INT) ENGINE=MEMORY PARTITION BY RANGE (i) (PARTITION p0 VALUES LESS THAN (4), PARTITION pm VALUES LESS THAN MAXVALUE);
|
||||
CREATE TABLE t2 (i INT) ENGINE=MEMORY;
|
||||
LOCK TABLE t1 WRITE, t2 WRITE;
|
||||
@ -875,7 +878,7 @@ ALTER TABLE t1 EXCHANGE PARTITION p0 WITH TABLE t2;
|
||||
SELECT * FROM t1 PARTITION (p0);
|
||||
UNLOCK TABLES;
|
||||
DROP TABLE t1;
|
||||
|
||||
--enable_service_connection
|
||||
--echo #
|
||||
--echo # MDEV-18371 Server crashes in ha_innobase::cmp_ref upon UPDATE with PARTITION clause.
|
||||
--echo #
|
||||
|
Reference in New Issue
Block a user