summaryrefslogtreecommitdiff
path: root/include/sslopt-vars.h
diff options
context:
space:
mode:
authorGleb Shchepa <gshchepa@mysql.com>2008-07-14 14:06:49 +0500
committerGleb Shchepa <gshchepa@mysql.com>2008-07-14 14:06:49 +0500
commit211164ff8ca4b9b00a1da80be3e36e55a09d22b8 (patch)
tree769fb80e9c2f4df0541ee170901153747bd4c0fe /include/sslopt-vars.h
parent6d05a62e4af8d5c8e04eb91d2bd5149413ee218f (diff)
downloadmariadb-git-211164ff8ca4b9b00a1da80be3e36e55a09d22b8.tar.gz
Bug #37761: IN handles NULL differently for table-subquery
and value-list The server returns unexpected results if a right side of the NOT IN clause consists of NULL value and some constants of the same type, for example: SELECT * FROM t WHERE NOT t.id IN (NULL, 1, 2) may return 3, 4, 5 etc if a table contains these values. The Item_func_in::val_int method has been modified: unnecessary resets of an Item_func_case::has_null field value has been moved outside of an argument comparison loop. (Also unnecessary re-initialization of the null_value field has been moved).
Diffstat (limited to 'include/sslopt-vars.h')
0 files changed, 0 insertions, 0 deletions