Skip to content

Commit 0775c59

Browse files
committed
Remove new PDO class constant specific to FireBird driver
1 parent 382be92 commit 0775c59

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

UPGRADING

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,8 +676,8 @@ PHP 8.4 UPGRADE NOTES
676676
. getAttribute, enabled to get the value of ATTR_STRINGIFY_FETCHES.
677677

678678
- PDO_FIREBIRD:
679-
. getAttribute, enabled to get values of FB_ATTR_DATE_FORMAT, FB_ATTR_TIME_FORMAT,
680-
FB_ATTR_TIMESTAMP_FORMAT.
679+
. Added new attributes to get values of Pdo\Firebird::ATTR_DATE_FORMAT, Pdo\Firebird::ATTR_TIME_FORMAT,
680+
Pdo\Firebird::ATTR_TIMESTAMP_FORMAT.
681681
. Added new attributes to specify transaction isolation level and access mode.
682682
Along with these, five constants (Pdo\Firebird::TRANSACTION_ISOLATION_LEVEL,
683683
Pdo\Firebird::READ_COMMITTED, Pdo\Firebird::REPEATABLE_READ,

ext/pdo_firebird/pdo_firebird.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ ZEND_GET_MODULE(pdo_firebird)
5757

5858
PHP_MINIT_FUNCTION(pdo_firebird) /* {{{ */
5959
{
60-
REGISTER_PDO_CLASS_CONST_LONG("FB_ATTR_DATE_FORMAT", (zend_long) PDO_FB_ATTR_DATE_FORMAT);
61-
REGISTER_PDO_CLASS_CONST_LONG("FB_ATTR_TIME_FORMAT", (zend_long) PDO_FB_ATTR_TIME_FORMAT);
62-
REGISTER_PDO_CLASS_CONST_LONG("FB_ATTR_TIMESTAMP_FORMAT", (zend_long) PDO_FB_ATTR_TIMESTAMP_FORMAT);
63-
6460
if (FAILURE == php_pdo_register_driver(&pdo_firebird_driver)) {
6561
return FAILURE;
6662
}

0 commit comments

Comments
 (0)