[wp-trac] [WordPress Trac] #19467: wpdb does not always set rows_affected or insert_id properties when needed

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 28 18:12:59 UTC 2012


#19467: wpdb does not always set rows_affected or insert_id properties when needed
------------------------------+------------------
 Reporter:  GeertDD           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.5
Component:  Database          |     Version:  3.3
 Severity:  minor             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by scribu):

 @Bellfalasch: Yes, that's how it should work, but it doesn't if the query
 looks like this:

 {{{
 UPDATE
 test SET awesome = 'Bye!' WHERE id = 1
 }}}

 as noted in the ticket description.

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


More information about the wp-trac mailing list