diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2014-11-02 01:08:09 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2014-11-02 01:08:09 +0400 |
commit | d1ca1c1faeb1e43df1533a10dfa0ac79433227f9 (patch) | |
tree | 47c81a1d7d0c9d17cce66be1784f21dc13b6fb5a /mysql-test/t/func_test.test | |
parent | 4dec4e1175b6494c6ba952fa3eac528ac9649888 (diff) | |
download | mariadb-git-d1ca1c1faeb1e43df1533a10dfa0ac79433227f9.tar.gz |
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)".
Diffstat (limited to 'mysql-test/t/func_test.test')
-rw-r--r-- | mysql-test/t/func_test.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/func_test.test b/mysql-test/t/func_test.test index 6a99b975e81..d3703de26c5 100644 --- a/mysql-test/t/func_test.test +++ b/mysql-test/t/func_test.test @@ -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 # |