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

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 21 22:33:27 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
--------------------------+-------------------------------------------------

Comment(by hakre):

 I don't think that wpdb->prepare is designed to handle NULL values for
 numeric fields. Probably that's the cause.

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


More information about the wp-trac mailing list