mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix typo in method call
This commit is contained in:
parent
23c7517dc9
commit
118e303a8d
@ -631,9 +631,9 @@ class GPKGDBConnector(DBConnector):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
if tablename.find('"') >= 0:
|
if tablename.find('"') >= 0:
|
||||||
tablename = self.quotedId(tablename)
|
tablename = self.quoteId(tablename)
|
||||||
if new_table.find('"') >= 0:
|
if new_table.find('"') >= 0:
|
||||||
new_table = self.quotedId(new_table)
|
new_table = self.quoteId(new_table)
|
||||||
|
|
||||||
gdal.ErrorReset()
|
gdal.ErrorReset()
|
||||||
self.gdal_ds.ExecuteSQL('ALTER TABLE %s RENAME TO %s' % (tablename, new_table))
|
self.gdal_ds.ExecuteSQL('ALTER TABLE %s RENAME TO %s' % (tablename, new_table))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user