Re: DB - possible getOne-Bug
| From: | newton | Date: | Mon, 04 Nov 2002 13:52:52 +0000 |
| Subject: | Re: DB - possible getOne-Bug | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2596@lists.php.net to get a copy of this message | ||
Well,
i took a further look at it - the problem is not thats no error object is generated, but he won't exit the while-loop before.
He generated unlimited error-objects in that while-loop until it times out.
i dont understand it. PHP is only caught in this loop if the GetOne has an error like my typo in the tablename - otherwise it exits the loop correctly.
The source/tables regarding this issue are attached.
newton
Stig S. Bakken wrote:
Hi, Could you provide some example code and an example table? - Stig On Sat, 2002-11-02 at 02:08, newton wrote: Hello, if i use DB::getOne with a Query on a non-existant table then will there no error-object generated. Only following errors appeared. Fatal error: Maximum execution time of 30 seconds exceeded in c:\server\php\pear\DB.php on line 360 Fatal error: Maximum execution time of 30 seconds exceeded in c:\server\php\pear\PEAR.php on line 631 -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php