WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/06/2007 05:22:53 PM (14 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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) ) {
Note: See TracChangeset for help on using the changeset viewer.