1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-30 11:22:14 +03:00
Files
mariadb/sql
Gleb Shchepa 211164ff8c 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).
2008-07-14 14:06:49 +05:00
..
2007-10-11 13:29:09 -04:00
2007-10-11 13:29:09 -04:00
2007-10-11 13:29:09 -04:00
2008-04-10 23:27:24 -04:00
2007-08-15 17:43:08 +04:00
2008-06-27 20:56:41 +05:00
2008-04-08 20:01:20 +04:00
2008-02-12 10:43:38 +01:00
2007-10-11 13:29:09 -04:00
2007-10-11 13:29:09 -04:00
2007-10-16 16:11:50 -04:00
2007-10-11 14:37:45 -04:00
2007-10-16 16:11:50 -04:00
2007-11-06 21:57:51 +03:00
2007-10-11 14:37:45 -04:00
2007-10-16 16:11:50 -04:00
2007-10-11 14:37:45 -04:00
2008-01-30 17:35:25 +01:00
2008-07-03 23:41:22 +04:00
2008-07-03 23:41:22 +04:00
2007-06-10 14:43:57 +04:00
2008-01-23 13:26:41 -07:00
2008-04-08 20:31:40 +04:00
2007-10-16 16:11:50 -04:00
2007-10-16 16:11:50 -04:00
2007-06-12 18:41:56 +03:00
2008-07-03 23:41:22 +04:00
2008-06-27 23:54:16 +05:00
2007-07-01 15:33:28 -07:00
2007-10-16 16:11:50 -04:00
2007-10-16 16:11:50 -04:00