Changeset 5195

Show
Ignore:
Timestamp:
04/06/07 17:22:53 (2 years ago)
Author:
ryan
Message:

Pass link indentifier to mymysql_affected_rows(). Props Doug Kaye.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/wp-db.php

    r4990 r5195  
    193193 
    194194        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); 
    196196            // Take note of the insert_id 
    197197            if ( preg_match("/^\\s*(insert|replace) /i",$query) ) {