PDA

View Full Version : Mysql error


Banditukas
23/01/2015, 08:06 AM
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","ddd",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.

Banditukas
23/01/2015, 09:57 PM
UP THREAD.

Zume
23/01/2015, 11:34 PM
public OnQueryError(errorid, error[], callback[], query[], connectionHandle)
{
printf("** [MySQL ERROR]: [%s] %s: %s", (callback[0]) ? (callback) : ("n/a"), error);
return 1;
}