Re: DB - possible getOne-Bug

From: Date: Mon, 04 Nov 2002 19:53:03 +0000
Subject: Re: DB - possible getOne-Bug
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2603@lists.php.net to get a copy of this message
Is there any reason why attachments are transtimitter over the mailing list? I don't have any problems with a 1-2 KBs but imagine if somebody sent a few megs to the mailing list. On Monday 04 November 2002 15:52, you wrote: > 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 -- Martin Tsachev http://martin.f2o.org

« previous php.pear.general (#2603) next »