﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
11372	wpdb::query returns FALSE on TRUNCATE	marcis20	ryan	"When executing a ""TRUNCATE"" SQL query, wpdb returns FALSE (num_rows = 0) although it's succesfull.

Maybe it should be included in the ""if"" section of the method check:

{{{
if ( preg_match(""/^\\s*(insert|delete|update|replace|alter) /i"",$query) ) {

}}}

And returns the ""$this->rows_affected"" value (1)."	defect (bug)	closed	normal	3.2	Database	2.8.5	normal	fixed	has-patch	
