mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Fix automatic replacing mistake.
This commit is contained in:
parent
d78d3b4541
commit
0eaa940638
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue