Server Crash
#4

You could check when exactly the issue starts - is the loop even reached, what does the call to mysql_num_rows give... if the script goes that far. In general, add some more debugging. See if your MySQL plugin creates its own logs, try to find something useful from that.

A common pitfall for memory leaks is something like:
pawn Код:
mysql_query(...);
mysql_store_result();
if(mysql_num_rows() == 0)
{
    printf("No rows, cmon...");
    return true;
}
mysql_free_result();
In some cases, memory is left unfreed there and that will cause you trouble.
Reply


Messages In This Thread
Server Crash - by GiamPy. - 22.11.2012, 22:25
Re: Server Crash - by AndreT - 22.11.2012, 22:42
Re: Server Crash - by GiamPy. - 22.11.2012, 22:54
Re: Server Crash - by AndreT - 22.11.2012, 23:03
Re: Server Crash - by GiamPy. - 22.11.2012, 23:12

Forum Jump:


Users browsing this thread: 1 Guest(s)