mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
cursor_closer for SQLite.
This commit is contained in:
parent
c58e878513
commit
d3a9f93111
1 changed files with 8 additions and 1 deletions
|
@ -278,6 +278,11 @@ static int pdo_sqlite_stmt_col_meta(pdo_stmt_t *stmt, long colno, zval *return_v
|
|||
return SUCCESS;
|
||||
}
|
||||
|
||||
static int pdo_sqlite_stmt_cursor_closer(pdo_stmt_t *stmt TSRMLS_DC)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
struct pdo_stmt_methods sqlite_stmt_methods = {
|
||||
pdo_sqlite_stmt_dtor,
|
||||
pdo_sqlite_stmt_execute,
|
||||
|
@ -287,7 +292,9 @@ struct pdo_stmt_methods sqlite_stmt_methods = {
|
|||
pdo_sqlite_stmt_param_hook,
|
||||
NULL, /* set_attr */
|
||||
NULL, /* get_attr */
|
||||
pdo_sqlite_stmt_col_meta
|
||||
pdo_sqlite_stmt_col_meta,
|
||||
NULL, /* next_rowset */
|
||||
pdo_sqlite_stmt_cursor_closer
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue