[php-src] Issue #21055: Typo in pgsql_driver.c: duplicated constant in a switch
[email protected] (lsaos)
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <[email protected]> |
Issue: https://github.com/php/php-src/issues/21055 Author: lsaos There is a mistake in pgsql_driver.c, probably a typo: https://github.com/php/php-src/blob/cc50c9e928fd58b0313eee5f102cdc814c873f23/ext/pdo_pgsql/pgsql_driver.c#L523 It should be case CONNECTION_GSS_STARTUP and not case CONNECTION_SSL_STARTUP according to the #ifdef, message description and the CONNECTION_SSL_STARTUP is 10 lines above. I believe it never got caught because this module was never compiled with CONNECTION_GSS_STARTUP present.