OnQueryError
#1

Hi,

I want to ask.

Why this callback OnQueryError, is not called? i have made him like that:

Code:
public OnQueryError(errorid, error[], callback[], query[], connectionHandle)
{
	printf("Query: %s, callback: %s, connectionhandle: %d, error:%s",query,callback,connectionHandle,error);
	return 1;
}
This information have to be printed in server.log right? but there is nothing.

I use latest blueG mysql plugin, where problem when OnQueryError was not called, now fixed.

Code:
[ERROR] CMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '35773''' at line 1
Because this error in mysql_log don't say my anything, i have a lot of queries, different in my gamemod'e anywhere.
Reply
#2

UP THREAD
Reply
#3

Sorry that am bumping this thread, but i really need help with this.
Reply
#4

Enable HTML log, and open that HTML log. You can see bad queries highlighted as RED and ORANGE for warning. You can easily find out which query is having issues.

pawn Code:
mysql_log(LOG_ALL, LOG_TYPE_HTML);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)