Re: DB - possible getOne-Bug

From: Date: Fri, 08 Nov 2002 07:07:12 +0000
Subject: Re: DB - possible getOne-Bug
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2670@lists.php.net to get a copy of this message
The mailing list software has a size limitation for attachments. - Stig On Mon, 2002-11-04 at 20:53, shaggy@vip.bg wrote: > Is there any reason why attachments are transtimitted 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 -- Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway http://pear.php.net/wishlist.php/ssb

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