mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
db manager oracle plugin: avoid tablespace index parameter
This commit is contained in:
parent
62a4301865
commit
f92efbc032
@ -1621,10 +1621,8 @@ class OracleDBConnector(DBConnector):
|
||||
CREATE INDEX {0}
|
||||
ON {1}({2})
|
||||
INDEXTYPE IS MDSYS.SPATIAL_INDEX
|
||||
PARAMETERS ('TABLESPACE={3} SDO_DML_BATCH_SIZE = 1')
|
||||
""".format(idx_name, self.quoteId(table),
|
||||
self.quoteId(geom_column),
|
||||
u"{}_INDEX".format(schema))
|
||||
self.quoteId(geom_column))
|
||||
self._execute_and_commit(sql)
|
||||
|
||||
def deleteSpatialIndex(self, table, geom_column='GEOM'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user