Fix typo in method call

This commit is contained in:
Matthias Kuhn 2017-10-16 23:36:38 +02:00
parent 23c7517dc9
commit 118e303a8d

View File

@ -631,9 +631,9 @@ class GPKGDBConnector(DBConnector):
return True
if tablename.find('"') >= 0:
tablename = self.quotedId(tablename)
tablename = self.quoteId(tablename)
if new_table.find('"') >= 0:
new_table = self.quotedId(new_table)
new_table = self.quoteId(new_table)
gdal.ErrorReset()
self.gdal_ds.ExecuteSQL('ALTER TABLE %s RENAME TO %s' % (tablename, new_table))