mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
MDEV-7001 Bad result for NOT NOT STRCMP('a','b') and NOT NOT NULLIF(2,3)
The bug is not very important per se, but it was helpful to move Item_func_strcmp out of Item_bool_func2 (to Item_int_func), for the purposes of "MDEV-4912 Add a plugin to field types (column types)".
This commit is contained in:
parent
4dec4e1175
commit
d1ca1c1fae
7 changed files with 72 additions and 12 deletions
|
|
@ -180,3 +180,17 @@ select * from t1 where not (a+0);
|
|||
explain extended select * from t1 where not (a+0);
|
||||
|
||||
drop table t1;
|
||||
|
||||
--echo #
|
||||
--echo # Start of 10.0 tests
|
||||
--echo #
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-7001 Bad result for NOT NOT STRCMP('a','b') and NOT NOT NULLIF(2,3)
|
||||
--echo #
|
||||
SELECT NOT NOT strcmp('a','b');
|
||||
EXPLAIN EXTENDED SELECT NOT NOT strcmp('a','b');
|
||||
|
||||
--echo #
|
||||
--echo # End of 10.0 tests
|
||||
--echo #
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue