cursor_closer for SQLite.

This commit is contained in:
Ilia Alshanetsky 2005-07-09 04:37:27 +00:00
parent c58e878513
commit d3a9f93111

View file

@ -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
};
/*