Re: PDO LastInsertId() returning %ld on 5.1b2
| From: | Matthew Peters | Date: | Mon, 11 Jul 2005 12:03:22 +0000 |
| Subject: | Re: PDO LastInsertId() returning %ld on 5.1b2 | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2602@lists.php.net to get a copy of this message | ||
For info, this still occured on 20050708 build but was then fixed the same
day. Oustandingly prompt! See http://bugs.php.net/bug.php?id=33618
"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?
> >