DB oci8 numRows() and portability

From: Date: Fri, 16 Jan 2004 23:07:49 +0000
Subject: DB oci8 numRows() and portability
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25110@lists.php.net to get a copy of this message
Hi Folks: I'm working on the new portability system (using bitwise constants as per Alan's suggestion -- thanks Alan). Oracle's numRows() method is quite odd. Right now, if optimize isn't set to portability, the method raises an error about the backend not being capable. Well, if the person is calling the method, they want the answer, right? So, why even waste time with an if statement? Just give them the answer! This if statement really should be eliminated. It would cut the need for another portability option in the new system, thus saving memory and processor time (let alone people's time figuring out and remembering the dang thing). Your thoughts? --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.pear.dev (#25110) next »