12.06.2018, 18:53
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:
I used:
In the past but this does not work anymore either, it only adds "Query:" infront of the error.
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'.
Код:
public OnMysqlError(error[], errorid, MySQL:handle) { printf("Error: %s | Query: %s", errorid, error); return 1; }