[wp-trac] [WordPress Trac] #11372: wpdb::query returns FALSE on TRUNCATE

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 8 17:35:43 UTC 2010


#11372: wpdb::query returns FALSE on TRUNCATE
--------------------------+-------------------------------------------------
 Reporter:  marcis20      |       Owner:  ryan                     
     Type:  defect (bug)  |      Status:  new                      
 Priority:  normal        |   Milestone:  Unassigned               
Component:  Database      |     Version:  2.8.5                    
 Severity:  normal        |    Keywords:  database, query, truncate
--------------------------+-------------------------------------------------

Comment(by hakre):

 Current trunk still has
 {{{preg_match("/^\\s*(insert|delete|update|replace|alter) /i",$query)}}}
 in there.

 Related: #11799

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


More information about the wp-trac mailing list