Use sql_execute instead of sql.execute.
This commit is contained in:
parent
750d93673d
commit
d093843f28
1 changed files with 1 additions and 1 deletions
|
@ -1013,7 +1013,7 @@ class PDBSQLMixin:
|
||||||
else:
|
else:
|
||||||
self.log.log(5, 'Savepoint %s.', savepoint_id)
|
self.log.log(5, 'Savepoint %s.', savepoint_id)
|
||||||
query = f'SAVEPOINT "{savepoint_id}"'
|
query = f'SAVEPOINT "{savepoint_id}"'
|
||||||
self.sql.execute(query)
|
self.sql_execute(query)
|
||||||
self.savepoints.append(savepoint_id)
|
self.savepoints.append(savepoint_id)
|
||||||
self.on_commit_queue.append(savepoint_id)
|
self.on_commit_queue.append(savepoint_id)
|
||||||
self.on_rollback_queue.append(savepoint_id)
|
self.on_rollback_queue.append(savepoint_id)
|
||||||
|
|
Loading…
Reference in a new issue