Bug #6675 mysql_insert_id returns incorrect size for BIGINT fields
| From: | Unknown Sender | Date: | Fri, 12 Jan 2001 15:40:11 +0000 |
| Subject: | Bug #6675 mysql_insert_id returns incorrect size for BIGINT fields | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43875@lists.php.net to get a copy of this message | ||
Hi,
http://bugs.php.net/bugs.php?id=6675
I think this bug can be closed off, the documentation for mysql_insert_id()
states that for very large values of the returned id (>32bits) this will
return the wrong data and users should use LAST_INSERT_ID() to fetch that
info from mysql instead. Not sure you want to have this function return a
string as suggested, seems kludgy.
Sean
======================================
Sean Bright
elixer@erols.com / sean@seanbright.com
======================================