Skip to content

Commit e744633

Browse files
committedNov 9, 2017
[DB Manager / GPKG] Fix COMMIT with GDAL 2 (fix #16174)
1 parent 505e365 commit e744633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/db_manager/db_plugins/gpkg/connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _execute(self, cursor, sql):
184184
return DBConnector._execute(self, cursor, sql)
185185

186186
def _commit(self):
187-
if self.gdal2:
187+
if self.connection is None:
188188
return
189189

190190
try:

0 commit comments

Comments
 (0)
Please sign in to comment.