I have two functions
def set_Savepoint():The first one creates a SavePoint and the second one restores the save point. But unfortunately, every time I call the rollback functions it throws this error:
Traceback (most recent call last):Here is how I am calling it from the main:
operaciones_bbdd.set_Savepoint()(operaciones_bbdd is the file where those operations are declared)
I don't see the reason why this is not working, trying to use the commands manually in SQLite3 command line, works fine. Also I tried to use db.isolation_level = None and ended up throwing the same error
In the error message, it says there's no such SavePoint, but I have clearly created the t1bis sp, right?
On Dec 14, 2020, at 07:06, Yun <yunhi...@gmail.com> wrote:
db.execute("rollback to savepoint t1bis")
I don't see the reason why this is not working, trying to use the commands manually in SQLite3 command line, works fine. Also I tried to use db.isolation_level = None and ended up throwing the same error