Mysql error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Mysql error (
/showthread.php?tid=559418)
Mysql error -
Banditukas - 23.01.2015
Hi,
Why i don't get in server.log information about some incomplete queries? because now i use OnQueryError, it'is print my what i want but how i said not all errors, now i see in mysql.log error that specified parameters do not match in something like that i imagine that "callback","d
dd",playerid ); but maybe possible to see all errors in server.log because i need to see a exactly in what query that i can to repair a mistake.
Re: Mysql error -
Banditukas - 23.01.2015
UP THREAD.
Respuesta: Mysql error -
Zume - 23.01.2015
pawn Код:
public OnQueryError(errorid, error[], callback[], query[], connectionHandle)
{
printf("** [MySQL ERROR]: [%s] %s: %s", (callback[0]) ? (callback) : ("n/a"), error);
return 1;
}