From 0eaa9406380f6a9c528a2bfdb1e2e59847f5b1bf Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 11 Aug 2007 15:39:18 +0000 Subject: Fix automatic replacing mistake. --- Modules/_sqlite/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c index b046011..e8c28e3 100644 --- a/Modules/_sqlite/connection.c +++ b/Modules/_sqlite/connection.c @@ -378,7 +378,7 @@ PyObject* pysqlite_connection_rollback(pysqlite_Connection* self, PyObject* args pysqlite_reset_all_statements(self); Py_BEGIN_ALLOW_THREADS - rc = sqlite3_prepare(self->db, "READONLYLLBACK", -1, &statement, &tail); + rc = sqlite3_prepare(self->db, "ROLLBACK", -1, &statement, &tail); Py_END_ALLOW_THREADS if (rc != SQLITE_OK) { _pysqlite_seterror(self->db); -- cgit v0.12