Re: PDO LastInsertId() returning %ld on 5.1b2
| From: | Matthew Peters | Date: | Mon, 11 Jul 2005 13:15:17 +0000 |
| Subject: | Re: PDO LastInsertId() returning %ld on 5.1b2 | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2603@lists.php.net to get a copy of this message | ||
Second attempt to post this:
for info, Wez fixed this on Friday. See http://bugs.php.net/bug.php?id=33618
""Matthew Peters"" <matthew_peters@uk.ibm.com> wrote in message
news:36.79.25935.28F52D24@pb1.pair.com...
> Ilia, thanks for the info. Actually I just tried on php5.1 200507081030
i.e.
> latest possible and the same result. I'm on WinXP. I wonder if you're on
> something else? Matthew
>
> "Ilia Alshanetsky" <ilia@prohost.org> wrote in message
> news:42CEAD27.6070704@prohost.org...
> > I have a fairly large application running on pdo_mysql (latest CVS) and
> > I am not seeing such a problem.. Try upgrading?
> >
> > Ilia
> >
> > Matthew Peters wrote:
> > > I just picked up 5.1 beta and PDO's lastInsertId() has started
returning
> > > "%ld" instead of the key of the record I just inserted. This is with
> MySQL
> > > and using the driver that came with 5.1. I just raised a bug report,
but
> > > thought I would ask, in case I am doing something foolish, has anyone
> else
> > > seen this?
> > >