MySQL Forums
Forum List  »  InnoDB

Re: MySQL 5.5.8 - Configuration Settings Suggestions
Posted by: Rick James
Date: July 06, 2012 03:41PM

Looks bad to me:
mysql> SELECT NULL IN (1, NULL), 2 IN (1, NULL);
+-------------------+----------------+
| NULL IN (1, NULL) | 2 IN (1, NULL) |
+-------------------+----------------+
|              NULL |           NULL |
+-------------------+----------------+

NULL IN NULL fails, so you can't really test for it in an IN clause.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL 5.5.8 - Configuration Settings Suggestions
1080
July 06, 2012 03:41PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.