mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Merge branch '10.2' into 10.3
This commit is contained in:
commit
36e59752e7
273 changed files with 4469 additions and 1286 deletions
|
|
@ -711,6 +711,23 @@ a ct
|
|||
set sql_mode=@save_sql_mode;
|
||||
drop table t1;
|
||||
#
|
||||
# mdev-16235: impossible HAVING in query without aggregation
|
||||
#
|
||||
explain extended
|
||||
select * from mysql.help_topic where example = 'foo' having description is null;
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL Impossible HAVING
|
||||
Warnings:
|
||||
Note 1003 select `mysql`.`help_topic`.`help_topic_id` AS `help_topic_id`,`mysql`.`help_topic`.`name` AS `name`,`mysql`.`help_topic`.`help_category_id` AS `help_category_id`,`mysql`.`help_topic`.`description` AS `description`,`mysql`.`help_topic`.`example` AS `example`,`mysql`.`help_topic`.`url` AS `url` from `mysql`.`help_topic` where `mysql`.`help_topic`.`example` = 'foo' having 0
|
||||
select * from mysql.help_topic where example = 'foo' having description is null;
|
||||
help_topic_id name help_category_id description example url
|
||||
#
|
||||
# End of 5. tests
|
||||
#
|
||||
#
|
||||
# Start of 10.0 tests
|
||||
#
|
||||
#
|
||||
# Bug mdev-5160: two-way join with HAVING over the second table
|
||||
#
|
||||
CREATE TABLE t1 (c1 varchar(6)) ENGINE=MyISAM;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue