Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #32315, comment 6


Ignore:
Timestamp:
10/27/2016 05:24:43 PM (8 years ago)
Author:
datainterlock
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32315, comment 6

    v1 v2  
    1 Confirmed.  It still exists in 4.6.1 after a year and a half!  I just spent HOURS trying to figure out why my database was being flooded with bad data after trying to get a $wpdb->insert and having it return false without any sql error.  The insert fails with no error or record produced.  $wpdb->last_query shows the query BEFORE the insert and $wpdb->last_error is empty.
     1Confirmed.  It still exists in 4.6.1 after a year and a half!  I just spent HOURS trying to figure out why my database was being flooded with bad data after trying to get a $wpdb->insert_id and having it return false without any sql error.  The insert fails with no error or record produced.  $wpdb->last_query shows the query BEFORE the insert and $wpdb->last_error is empty.
    22
    33Bumping this to critical as having a truncated insert is one thing. Having no error produced after a failed insert is just unconscionable.