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

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 19 20:47:51 UTC 2010


#15158: wpdb insert & update with null values
--------------------------+-------------------------------------------------
 Reporter:  westi         |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.1        
Component:  Database      |     Version:  3.0.1      
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 From: http://wordpress.org/support/topic/bug-fix-wpdb-insert-amp-update-
 with-null-values

 "Some of you might have noticed but the wpdb's insert & update methods
 don't work well with null value (if you try to set null on a numeric field
 you'll end up with 0)"

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


More information about the wp-trac mailing list