Re: PDO LastInsertId() returning %ld on 5.1b2
| From: | Matthew Peters | Date: | Fri, 08 Jul 2005 16:50:42 +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-2599@lists.php.net to get a copy of this message | ||
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?
> >