Re: PDO LastInsertId() returning %ld on 5.1b2
| From: | Ilia Alshanetsky | Date: | Fri, 08 Jul 2005 16:43:19 +0000 |
| Subject: | Re: PDO LastInsertId() returning %ld on 5.1b2 | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2584@lists.php.net to get a copy of this message | ||
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?