Skip to content

Commit 3037526

Browse files
lsaosdevnexen
authored andcommitted
Fix GH-21055: Pdo/Pgsql typo for GSS negotiation connection status attribute.
close GH-21057
1 parent 93d32ea commit 3037526

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ PHP NEWS
55
- Core:
66
. Fixed bug GH-21029 (zend_mm_heap corrupted on Aarch64, LTO builds). (Arnaud)
77

8+
- PDO_PGSQL:
9+
. Fixed bug GH-21055 (connection attribute status typo for GSS negotiation).
10+
(lsaos)
11+
812
12 Feb 2026, PHP 8.4.18
913

1014
- Core:

ext/pdo_pgsql/pgsql_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ static int pdo_pgsql_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_
509509
break;
510510
#endif
511511
#ifdef CONNECTION_GSS_STARTUP
512-
case CONNECTION_SSL_STARTUP:
512+
case CONNECTION_GSS_STARTUP:
513513
ZVAL_STRINGL(return_value, "Negotiating GSSAPI.", strlen("Negotiating GSSAPI."));
514514
break;
515515
#endif

0 commit comments

Comments
 (0)