Scripting/Squirrel/Functions/mysql warning count: Difference between revisions

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
(Created page with "Returns the last query number of warnings == Syntax == <pre>mysql_warning_count( MySQLConnection handler )</pre> == Arguments == * ''MySQLConnection'' '''handler''' - A vali...")
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 15: Line 15:
</pre>
</pre>


By KAKAN
== Related Functions ==
{{Scripting/Squirrel/Functions/MySQL Functions}}
[[Category:Scripting/Squirrel/Functions/Mysql_Functions]]

Latest revision as of 18:29, 30 January 2017

Returns the last query number of warnings

Syntax

mysql_warning_count( MySQLConnection handler )

Arguments

  • MySQLConnection handler - A valid MySQL link/connection

Return value

An integer showing the number of warning of the last query

Example

mysql_query(handler,"SELECT FROM shit");
print( mysql_warning_count( handler ) );

Related Functions