php-src/ext/pdo_firebird
Christoph M. Becker 44377c3c70
Fix GH-9971: Incorrect NUMERIC value returned from PDO_Firebird
Dialect 1 databases store and transfer `NUMERIC(15,2)` values as
doubles, which we need to cater to in `firebird_stmt_get_col()` to
avoid `ZEND_ASSUME(0)` to ever be triggered, since that may result
in undefined behavior.

Since adding a regression test would require to create a dialect 1
database, we go without it.

Closes GH-10021.
2022-11-30 12:11:42 +01:00
..
tests Fix test to require PDO_Firebird 2022-06-02 16:22:45 +02:00
config.m4 Add AS_HELP_STRING to *nix build configure options 2019-03-07 20:36:59 +01:00
config.w32 Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
CREDITS
firebird_driver.c Merge branch 'PHP-8.0' 2021-06-27 21:40:02 -07:00
firebird_statement.c Fix GH-9971: Incorrect NUMERIC value returned from PDO_Firebird 2022-11-30 12:11:42 +01:00
pdo_firebird.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_pdo_firebird.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_pdo_firebird_int.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00