RE: [PEAR-CVS] cvs: pear /MDB mysql.php
| From: | Lukas Smith | Date: | Thu, 23 May 2002 21:40:54 +0000 |
| Subject: | RE: [PEAR-CVS] cvs: pear /MDB mysql.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-4063@lists.php.net to get a copy of this message | ||
Yeah ... MDB handles this fact (Metabase did so too)
If currId is not supported it calls nextId and issues a warning
Best regards,
Lukas Smith
smith@dybnet.de
_______________________________
DybNet Internet Solutions GbR
Reuchlinstr. 10-11
Gebäude 4 1.OG Raum 6 (4.1.6)
10553 Berlin
Germany
Tel. : +49 30 83 22 50 00
Fax : +49 30 83 22 50 07
www.dybnet.de info@dybnet.de
> -----Original Message-----
> From: Stig S. Bakken [mailto:ssb@fast.no]
> Sent: Thursday, May 23, 2002 11:39 PM
> To: Lukas Smith
> Cc: pear-cvs@lists.php.net
> Subject: Re: [PEAR-CVS] cvs: pear /MDB mysql.php
>
> "currId" is not possible to implement natively everywhere. I seem to
> remember that there were some issues with it in Oracle, and in for
> example Solid you can only get the next value. That's why I did not
add
> currId to DB, only nextId.
>
> - Stig
>
> On Thu, 2002-05-23 at 13:15, Lukas Smith wrote:
> > lsmith Thu May 23 07:15:10 2002 EDT
> >
> > Modified files:
> > /pear/MDB mysql.php
> > Log:
> > supported feature renamed from GetSequenceCurrentValue to currId
to
> match the new method name
> >
> > Index: pear/MDB/mysql.php
> > diff -u pear/MDB/mysql.php:1.8 pear/MDB/mysql.php:1.9
> > --- pear/MDB/mysql.php:1.8 Tue May 21 12:29:51 2002
> > +++ pear/MDB/mysql.php Thu May 23 07:15:10 2002
> > @@ -2,7 +2,7 @@
> > /*
> > * mysql.php
> > *
> > - * @(#) $Header: /usr/repository/pear/MDB/mysql.php,v 1.8
2002/05/21
> 16:29:51 lsmith Exp $
> > + * @(#) $Header: /usr/repository/pear/MDB/mysql.php,v 1.9
2002/05/23
> 11:15:10 lsmith Exp $
> > *
> > */
> >
> > @@ -757,7 +757,7 @@
> > $this->supported["AffectedRows"] =
> > $this->supported["Summaryfunctions"] =
> > $this->supported["OrderByText"] =
> > - $this->supported["GetSequenceCurrentValue"] =
> > + $this->supported["currId"] =
> > $this->supported["SelectRowRanges"] =
> > $this->supported["LOBs"] =
> > $this->supported["Replace"] =
> > @@ -772,8 +772,6 @@
> > // ********************
> > // new methods for PEAR
> > // ********************
> > -
> > -
> > /**
> > * Move the internal mysql result pointer to the next available
> result
> > * Currently not supported
> >
> >
> >
> > --
> > PEAR CVS Mailing List (http://pear.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php