mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #80908
The last insert ID should be an unsigned integer. Closes GH-6810.
This commit is contained in:
parent
ec8de47e1e
commit
25dc931d83
3 changed files with 53 additions and 1 deletions
|
@ -289,7 +289,7 @@ static zend_string *pdo_mysql_last_insert_id(pdo_dbh_t *dbh, const zend_string *
|
|||
{
|
||||
pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data;
|
||||
PDO_DBG_ENTER("pdo_mysql_last_insert_id");
|
||||
PDO_DBG_RETURN(zend_i64_to_str(mysql_insert_id(H->server)));
|
||||
PDO_DBG_RETURN(zend_u64_to_str(mysql_insert_id(H->server)));
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue