Skip to content

Commit e29ca36

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Fix GH-9971: Incorrect NUMERIC value returned from PDO_Firebird
2 parents e568f93 + 44377c3 commit e29ca36

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ PHP NEWS
3939
. Fixed bug GH-9298 (Signal handler called after rshutdown leads to crash).
4040
(Erki Aring)
4141

42+
- PDO_Firebird:
43+
. Fixed bug GH-9971 (Incorrect NUMERIC value returned from PDO_Firebird).
44+
(cmb)
45+
4246
- Session:
4347
. Fixed GH-9932 (session name silently fails with . and [). (David Carlier)
4448

ext/pdo_firebird/firebird_statement.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,8 @@ static int firebird_stmt_get_col(
385385
case SQL_INT64:
386386
n = *(ISC_INT64*)var->sqldata;
387387
break;
388+
case SQL_DOUBLE:
389+
break;
388390
EMPTY_SWITCH_DEFAULT_CASE()
389391
}
390392

0 commit comments

Comments
 (0)