[DB Manager / GPKG] Fix COMMIT with GDAL 2 (fix #16174)

This commit is contained in:
Even Rouault 2017-11-09 19:11:33 +01:00
parent 9168161e1e
commit 4eed39b63c

View File

@ -185,7 +185,7 @@ class GPKGDBConnector(DBConnector):
return DBConnector._execute(self, cursor, sql)
def _commit(self):
if self.gdal2:
if self.connection is None:
return
try: