<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=OnQueryError</id>
	<title>OnQueryError - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=OnQueryError"/>
	<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=OnQueryError&amp;action=history"/>
	<updated>2026-04-17T03:14:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://dev.playonset.com/index.php?title=OnQueryError&amp;diff=3780&amp;oldid=prev</id>
		<title>BlueMountains: Created page with &quot;{{Info|Event|Server|1.0}} {{Notice|This function is provided by the official MariaDB plugin.}}  {{FuncDescription|Generic event that is called when there is a mariadb quer...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=OnQueryError&amp;diff=3780&amp;oldid=prev"/>
		<updated>2020-01-27T14:53:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Info|Event|Server|1.0}} {{Notice|This function is provided by the official &lt;a href=&quot;/wiki/MariaDB&quot; title=&quot;MariaDB&quot;&gt;MariaDB&lt;/a&gt; plugin.}}  {{FuncDescription|Generic event that is called when there is a mariadb quer...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Info|Event|Server|1.0}}&lt;br /&gt;
{{Notice|This function is provided by the official [[MariaDB]] plugin.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Generic event that is called when there is a mariadb query error.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|OnQueryError(errorid, error_str, query_str, handle_id)}}&lt;br /&gt;
{{FuncParam|errorid|The error id. https://mariadb.com/kb/en/mariadb-error-codes/}}&lt;br /&gt;
{{FuncParam|error_str|The error as a string.}}&lt;br /&gt;
{{FuncParam|query_str|The query string that caused this error.}}&lt;br /&gt;
{{FuncParam|handle_id|The mariaDB handle identifier.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
local function OnQueryError(errorid, error_str, query_str, handle_id)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
AddEvent(&amp;quot;OnQueryError&amp;quot;, OnQueryError)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:MariaDBFunctions}}&lt;/div&gt;</summary>
		<author><name>BlueMountains</name></author>
	</entry>
</feed>