I think I found the ODBC/Solid failures

From: Date: Thu, 21 Jan 1999 07:16:26 +0000
Subject: I think I found the ODBC/Solid failures
Groups: php.dev 
Request: Send a blank email to php-dev+get-3657@lists.php.net to get a copy of this message
We have met the enemy, and they seem to be us.... Based on the response this morning to my ODBC/Solid backtrace, I carefully went over the script in question. The error last night was from an odbc_free_result call, so I focused on those. I found several places where I call odbc_free_result() even if there had not been any rows returned from the odbc_exec(). I was calling odbc_free_result() in any case, and some would have been empty. After meticulously cleaning these up, I cannot reproduce the failure. It looks like this may have been causing the problem. What threw me off is that this script has been running for 6 to 9 months, and it is probably the busiest PHP script on the server. It was originally written in PHP2, converted to PHP3, and to date has never faulted. I just did not suspect the PHP3 script itself. To those that know the Solid code, does this sound like a probable cause of the sporadic errors? Thanks again to each of you who responded to me through this process. -- Michael -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3657) next »