Merge branch 'PHP-8.4'

* PHP-8.4:
  Fix bogus fallthrough path in firebird_handle_get_attribute(), again
This commit is contained in:
Niels Dossche 2024-09-28 13:20:40 +02:00
commit f1c4736f67
No known key found for this signature in database
GPG key ID: B8A8AD166DF0E2E5

View file

@ -1250,8 +1250,7 @@ static int pdo_firebird_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val)
ZVAL_STRING(val, tmp); ZVAL_STRING(val, tmp);
return 1; return 1;
} }
/* TODO Check this is correct? */ return -1;
ZEND_FALLTHROUGH;
case PDO_ATTR_FETCH_TABLE_NAMES: case PDO_ATTR_FETCH_TABLE_NAMES:
ZVAL_BOOL(val, H->fetch_table_names); ZVAL_BOOL(val, H->fetch_table_names);