Re: Re: Patch: Use notices in PDO

From: Date: Mon, 12 Oct 2009 01:09:16 +0000
Subject: Re: Re: Patch: Use notices in PDO
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-45732@lists.php.net to get a copy of this message
Hi Lukas: > hmm why do you think that PDO would need to take special care about > this? seems like this is the job of the PDO using code .. Depending on how PDO's code is written, it could inadvertently blow away metadata without a user knowing it. > but it does raise one concern that i did not think about before: one > potential issue is that with unbuffered queries (which are on by > default) in MySQL you can only have one open result set at a time A good example. > then again notices are usually only for insert/delete/update .. I was thinking the same thing. Even data manipulation queries can run into issues. If the code is written poorly, it could clobber things like affected row counts, etc. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.internals (#45732) next »