diff options
Diffstat (limited to 'Modules/_sqlite/statement.c')
-rw-r--r-- | Modules/_sqlite/statement.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_sqlite/statement.c b/Modules/_sqlite/statement.c index 27b2654..bc0d940 100644 --- a/Modules/_sqlite/statement.c +++ b/Modules/_sqlite/statement.c @@ -93,7 +93,7 @@ int pysqlite_statement_create(pysqlite_Statement* self, pysqlite_Connection* con } Py_BEGIN_ALLOW_THREADS - rc = sqlite3_prepare(connection->db, + rc = SQLITE3_PREPARE(connection->db, sql_cstr, -1, &self->st, @@ -334,7 +334,7 @@ int pysqlite_statement_recompile(pysqlite_Statement* self, PyObject* params) } Py_BEGIN_ALLOW_THREADS - rc = sqlite3_prepare(self->db, + rc = SQLITE3_PREPARE(self->db, sql_cstr, -1, &new_st, |