Changeset 5195
- Timestamp:
- 04/06/07 17:22:53 (2 years ago)
- Files:
-
- trunk/wp-includes/wp-db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/wp-db.php
r4990 r5195 193 193 194 194 if ( preg_match("/^\\s*(insert|delete|update|replace) /i",$query) ) { 195 $this->rows_affected = mysql_affected_rows( );195 $this->rows_affected = mysql_affected_rows($this->dbh); 196 196 // Take note of the insert_id 197 197 if ( preg_match("/^\\s*(insert|replace) /i",$query) ) {
