Fix bogus fallthrough path in firebird_handle_get_attribute(), again

This reapplies b8e9c5ba6a after it was accidentally removed via
225034dbbc.
This commit is contained in:
Niels Dossche 2024-09-28 13:19:33 +02:00
parent e014b5f506
commit b21d2ca93b
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);