06.03.2011, 17:38
Any one know any reason for mysql_fetch_field to crash a server?
It doesn't happen all the time, but occasionaly, it crashes and the logs report mysql_fetch_field being the last thing initiated.
[Sun Mar 6 20:51:49 2011] Function: mysql_query executed: "SELECT * FROM accounts WHERE `username`='Redirect_Left'" with result: "0".
[Sun Mar 6 20:51:49 2011] Function: mysql_store_result executed with result: "1"
[Sun Mar 6 20:51:49 2011] Function: mysql_fetch_field executed.
>> CRASH <<
Any ideas what might be happening?
I've put the affects bits of SQL into phpMyAdmin, and it parses and fetches stuff fine, so it should have the field to fetch?
It doesn't happen all the time, but occasionaly, it crashes and the logs report mysql_fetch_field being the last thing initiated.
[Sun Mar 6 20:51:49 2011] Function: mysql_query executed: "SELECT * FROM accounts WHERE `username`='Redirect_Left'" with result: "0".
[Sun Mar 6 20:51:49 2011] Function: mysql_store_result executed with result: "1"
[Sun Mar 6 20:51:49 2011] Function: mysql_fetch_field executed.
>> CRASH <<
Any ideas what might be happening?
I've put the affects bits of SQL into phpMyAdmin, and it parses and fetches stuff fine, so it should have the field to fetch?