mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
revert second lookahead in the lexer
it's not enough to look for NOT NULL IS, this also fails queries like SELECT NOT NULL <=> NULL; and adds no value anymore, as the grammar now requires parentheses
This commit is contained in:
@ -320,7 +320,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
Warnings:
|
||||
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where (not((`test`.`t1`.`a` + 0)))
|
||||
select not 1, not null, not not null, 1 is not null;
|
||||
not 1 NULL not not null 1 is not null
|
||||
not 1 not null not not null 1 is not null
|
||||
0 NULL NULL 1
|
||||
drop table t1;
|
||||
#
|
||||
|
Reference in New Issue
Block a user