mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@ -721,6 +721,40 @@ SELECT ('0x',1) IN ((0,1),(1,1));
|
||||
--echo # End of 10.4 tests
|
||||
--echo #
|
||||
|
||||
--echo #
|
||||
--echo # Start of 10.5 tests
|
||||
--echo #
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-31303: Key not used
|
||||
--echo #
|
||||
CREATE TABLE `a` (
|
||||
`id` bigint AUTO_INCREMENT PRIMARY KEY,
|
||||
`c1` bigint unsigned,
|
||||
KEY (`c1`)
|
||||
);
|
||||
|
||||
INSERT INTO `a` VALUES (1,9223382399205928659),(2,9223384207280813348),
|
||||
(3,9223385953115437234),(4,9223387250780556749),(5,9223387354282558788),
|
||||
(6,9223387603870501596),(7,9223389270813433667),(8,9223389903231468827),
|
||||
(9,9223390280789586779),(10,9223391591398222899),(11,9223391875473564350),
|
||||
(12,9223393152250049433),(13,9223393939696790223),(14,9223394417225350415),
|
||||
(15,9223397646397141015),(16,9223398025879291243),(17,9223399038671098072),
|
||||
(18,9223399534968874556),(19,9223400449518009285),(20,9223400860292643549),
|
||||
(21,9223400940692256924),(22,9223401073791948119),(23,9223402820804649616),
|
||||
(24,9223403470951992681),(25,9223405581879567267),(26,9223405754978563829),
|
||||
(27,9223405972966828221), (28, 9223372036854775808), (29, 9223372036854775807) ;
|
||||
|
||||
explain SELECT c1 FROM a WHERE c1 IN ( 1, 9223372036854775807 );
|
||||
explain SELECT c1 FROM a WHERE c1 IN ( 1, 9223372036854775808 );
|
||||
SELECT c1 FROM a WHERE c1 IN ( 1, 9223372036854775807 );
|
||||
SELECT c1 FROM a WHERE c1 IN ( 1, 9223372036854775808 );
|
||||
drop table `a`;
|
||||
|
||||
--echo #
|
||||
--echo # End of 10.5 tests
|
||||
--echo #
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-29662 same values in `IN` set vs equal comparison produces
|
||||
--echo # the different performance
|
||||
@ -854,4 +888,3 @@ drop table t1;
|
||||
--echo #
|
||||
--echo # End of 10.6 tests
|
||||
--echo #
|
||||
|
||||
|
Reference in New Issue
Block a user