1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge 10.7 into 10.8

This commit is contained in:
Marko Mäkelä
2023-01-13 11:11:04 +02:00
86 changed files with 1860 additions and 657 deletions

View File

@ -3717,6 +3717,17 @@ b
SET @@optimizer_switch=@save_optimizer_switch;
drop table t1,t2;
#
# MDEV-30373 Wrong result with range access
#
CREATE TABLE t1 (pk int, a int, PRIMARY KEY (pk), KEY(a)) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1,3),(2,6),(3,9);
SELECT * FROM t1 WHERE a < 8 OR ( pk BETWEEN 1 AND 5 AND a BETWEEN 7 AND 10 );
pk a
1 3
2 6
3 9
DROP TABLE t1;
#
# End of 10.5 tests
#
set global innodb_stats_persistent= @innodb_stats_persistent_save;