Bug #18998 ยป sql_errno.diff
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
|