Skip to content

Commit 4eed39b

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

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
@@ -185,7 +185,7 @@ def _execute(self, cursor, sql):
185185
return DBConnector._execute(self, cursor, sql)
186186

187187
def _commit(self):
188-
if self.gdal2:
188+
if self.connection is None:
189189
return
190190

191191
try:

0 commit comments

Comments
 (0)
Please sign in to comment.