22.11.2012, 23:03
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:
In some cases, memory is left unfreed there and that will cause you trouble.
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();