Use sql_execute instead of sql.execute.

This commit is contained in:
voussoir 2020-09-15 14:58:05 -07:00
parent 750d93673d
commit d093843f28

View file

@ -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)