mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
func_test.result, item_cmpfunc.cc:
Fixed bug #6187: a wrong initial setting for const_item_cache in Item_cond::fix_fields. sql/item_cmpfunc.cc: Fixed bug #6187: a wrong initial setting for const_item_cache in Item_cond::fix_fields. mysql-test/r/func_test.result: Fixed bug #6187: a wrong initial setting for const_item_cache in Item_cond::fix_fields.
This commit is contained in:
@ -77,9 +77,9 @@ select * from t1 where 1 xor 1;
|
||||
a
|
||||
explain extended select * from t1 where 1 xor 1;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Impossible WHERE
|
||||
Warnings:
|
||||
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where (1 xor 1)
|
||||
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1`
|
||||
select - a from t1;
|
||||
- a
|
||||
-1
|
||||
|
Reference in New Issue
Block a user