summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-08-11 15:39:18 (GMT)
committerGeorg Brandl <georg@python.org>2007-08-11 15:39:18 (GMT)
commit0eaa9406380f6a9c528a2bfdb1e2e59847f5b1bf (patch)
tree6184f61d113aae86c7053c79e0cd8e5a4bb63ba6 /Modules
parentd78d3b4541e4549ef014325f965639ffbe962ea9 (diff)
downloadcpython-0eaa9406380f6a9c528a2bfdb1e2e59847f5b1bf.zip
cpython-0eaa9406380f6a9c528a2bfdb1e2e59847f5b1bf.tar.gz
cpython-0eaa9406380f6a9c528a2bfdb1e2e59847f5b1bf.tar.bz2
Fix automatic replacing mistake.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_sqlite/connection.c2
1 files changed, 1 insertions, 1 deletions
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);