Project

General

Profile

Bug #18998 ยป sql_errno.diff

Administrator Admin, 2008-06-21 11:52

View differences:

t3lib/class.t3lib_db.php (working copy)
function sql_error() {
return mysql_error($this->link);
}
/**
* Returns the error number on the last sql() execution
* mysql_errno() wrapper function
*
* @return int MySQL error number.
*/
function sql_errno() {
return mysql_errno($this->link);
}
/**
* Returns the number of selected rows.
* mysql_num_rows() wrapper function
* Usage count/core: 85
    (1-1/1)