Re: getRow parameter order

From: Date: Thu, 06 Sep 2001 09:21:43 +0000
Subject: Re: getRow parameter order
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-305@lists.php.net to get a copy of this message
> > Is this just a bug in 1.65, or a deliberate change? > > The current cvs version is 1.64. Thanks for the reply and sorry for the confusion - there was no version number in DB/common.php so I assumed the version number in DB.php was for the whole of Pear::DB. My earlier attempt to checkout from cvs failed with a missing file error; but it is working now, so I can see the params were swapped in 1.49 (1.48 was the 4.0.6 release). It says it is backwards compatible. And 1.54 (phpwin 4.0.7-dev had 1.51) fixes a problem with that backwards compatibility. The latest CVS code works with my old code :-). Darren > > Can someone confirm the order of the parameters for getRow() > > (DB/common.php)? In V1.62 (the one that comes with 4.0.6) the 2nd > > parameter is $fetchmode, and $params is the 3rd param. But in 1.65 (that > > came with the very nice phpwin 4.0.7-dev package), $params is the 2nd > > parameter and $fetchmode is 3rd. But the comments above it still list > > $fetchmode second.

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