Fixed bug #3478: handling of 64bit return values on 32bit machine

This commit is contained in:
Edin Kadribasic 2005-02-15 12:41:24 +00:00
parent 3f5055efab
commit 2c306869c5

View file

@ -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;