Scripting/Squirrel/Functions/mysql errno

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

Returns the last error number of a MySQL connection.

Syntax

mysql_errno( MySQLConnection handler )

Arguments

  • MySQLConnection handler - A valid MySQL link/handler

Return value

The last error number, zero if nothing failed.

Example

print( mysql_errno( handler ) )

Related Functions