mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
- Bugfix #31342: SQLite OO interface with Exceptions (hugo dot pl at gmail dot com)
This commit is contained in:
parent
4494f0892b
commit
0f44e8a722
@ -1593,8 +1593,8 @@ PHP_FUNCTION(sqlite_fetch_column_types)
|
||||
DB_FROM_OBJECT(db, object);
|
||||
} else {
|
||||
if (FAILURE == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET,
|
||||
ZEND_NUM_ARGS() TSRMLS_CC, "sr", &tbl, &tbl_len, &zdb) &&
|
||||
FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &zdb, &tbl, &tbl_len)) {
|
||||
ZEND_NUM_ARGS() TSRMLS_CC, "sr|l", &tbl, &tbl_len, &zdb, &result_type) &&
|
||||
FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &zdb, &tbl, &tbl_len, &result_type)) {
|
||||
return;
|
||||
}
|
||||
DB_FROM_ZVAL(db, &zdb);
|
||||
|
Loading…
Reference in New Issue
Block a user