Proper MYSQL Errors in console.
#1

Hello,

So I don't know what changed but 2 years ago when I used Strickenskid and had the MYSQLerror public it showed the query where the error occurred in.

Now 2 years later, it does this:
Код:
[MySQL] Error (0): Failed to exeute query. Unknown column '' in 'order clause'.
[MySQL] Error (0): Function: mysql_store_result called when no prior successful query executed. Unknown column '' in 'order clause'.
[MySQL] Error (0): Function: mysql_num_rows called when no result stored. Unknown column '' in 'order clause'.
[MySQL] Error (0): Function: mysql_num_rows called when no result stored. Unknown column '' in 'order clause'.
[MySQL] Error (0): Failed to exeute query. Unknown column '' in 'order clause'.
[MySQL] Error (0): Function: mysql_store_result called when no prior successful query executed. Unknown column '' in 'order clause'.
[MySQL] Error (0): Function: mysql_num_rows called when no result stored. Unknown column '' in 'order clause'.
[MySQL] Error (0): Function: mysql_num_rows called when no result stored. Unknown column '' in 'order clause'.
[MySQL] Error (0): Failed to exeute query. Unknown column '' in 'order clause'.
[MySQL] Error (0): Function: mysql_store_result called when no prior successful query executed. Unknown column '' in 'order clause'.
[MySQL] Error (0): Function: mysql_num_rows called when no result stored. Unknown column '' in 'order clause'.
[MySQL] Error (0): Function: mysql_num_rows called when no result stored. Unknown column '' in 'order clause'.
I used:
Код:
public OnMysqlError(error[], errorid, MySQL:handle)
{
	printf("Error: %s | Query: %s", errorid, error);
	return 1;
}
In the past but this does not work anymore either, it only adds "Query:" infront of the error.
Reply


Messages In This Thread
Proper MYSQL Errors in console. - by Stefand - 12.06.2018, 18:53
Re: Proper MYSQL Errors in console. - by CodeStyle175 - 12.06.2018, 18:58
Re: Proper MYSQL Errors in console. - by Stefand - 12.06.2018, 19:00
Re: Proper MYSQL Errors in console. - by Slawi - 13.06.2018, 02:57
Re: Proper MYSQL Errors in console. - by Stefand - 13.06.2018, 19:31

Forum Jump:


Users browsing this thread: 1 Guest(s)