}
}
+static inline void
+stmt_mark_dirty(pysqlite_Statement *self)
+{
+ self->in_use = 1;
+}
+
PyObject *
_pysqlite_query_execute(pysqlite_Cursor* self, int multiple, PyObject* operation, PyObject* second_argument)
{
}
stmt_reset(self->statement);
- pysqlite_statement_mark_dirty(self->statement);
+ stmt_mark_dirty(self->statement);
/* We start a transaction implicitly before a DML statement.
SELECT is the only exception. See #9924. */
break;
}
- pysqlite_statement_mark_dirty(self->statement);
+ stmt_mark_dirty(self->statement);
bind_parameters(state, self->statement, parameters);
if (PyErr_Occurred()) {
pysqlite_Statement *pysqlite_statement_create(pysqlite_Connection *connection, PyObject *sql);
-void pysqlite_statement_mark_dirty(pysqlite_Statement* self);
-
int pysqlite_statement_setup_types(PyObject *module);
#endif