You are here

function DB_mysql::errorNative in Flickr API 5

Gets the DBMS' native error code produced by the last query

Return value

int the DBMS' error code

Overrides DB_common::errorNative

File

phpFlickr/PEAR/DB/mysql.php, line 904

Class

DB_mysql
The methods PEAR DB uses to interact with PHP's mysql extension for interacting with MySQL databases

Code

function errorNative() {
  return @mysql_errno($this->connection);
}