mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
[db-manager] Fix max recursion limit in rollback
This commit is contained in:
parent
c90da0e46a
commit
947a199960
@ -172,8 +172,6 @@ class DBConnector(object):
|
|||||||
raise ConnectionError(e)
|
raise ConnectionError(e)
|
||||||
|
|
||||||
except self.execution_error_types() as e:
|
except self.execution_error_types() as e:
|
||||||
# do the rollback to avoid a "current transaction aborted, commands ignored" errors
|
|
||||||
self._rollback()
|
|
||||||
raise DbError(e)
|
raise DbError(e)
|
||||||
|
|
||||||
def _get_cursor_columns(self, c):
|
def _get_cursor_columns(self, c):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user