mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed bug #3478: handling of 64bit return values on 32bit machine
This commit is contained in:
parent
3f5055efab
commit
2c306869c5
1 changed files with 2 additions and 0 deletions
|
@ -192,6 +192,8 @@ static int pgsql_stmt_describe(pdo_stmt_t *stmt, int colno TSRMLS_DC)
|
|||
case INT8OID:
|
||||
if (sizeof(long)>=8) {
|
||||
cols[colno].param_type = PDO_PARAM_INT;
|
||||
} else {
|
||||
cols[colno].param_type = PDO_PARAM_STR;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue