mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix bogus fallthrough path in firebird_handle_get_attribute(), again
This reappliesb8e9c5ba6a
after it was accidentally removed via225034dbbc
.
This commit is contained in:
parent
e014b5f506
commit
b21d2ca93b
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue