[wp-trac] [WordPress Trac] #15158: wpdb insert & update with null values

WordPress Trac noreply at wordpress.org
Mon Dec 24 16:13:11 UTC 2012


#15158: wpdb insert & update with null values
-------------------------+-----------------------------
 Reporter:  westi        |       Owner:  sorich87
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  Future Release
Component:  Database     |     Version:  3.0.1
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+-----------------------------

Comment (by miqrogroove):

 I would also like to remind everyone that NULL is often invalid in MySQL,
 e.g.

 "To search for column values that are NULL, you cannot use an expr = NULL
 test ... because expr = NULL is never true for any expression" -- MySQL
 refman

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15158#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list