Skip to content

Commit

Permalink
db manager oracle plugin: avoid tablespace index parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Dec 2, 2015
1 parent 62a4301 commit f92efbc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/plugins/db_manager/db_plugins/oracle/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1621,10 +1621,8 @@ def createSpatialIndex(self, table, geom_column='GEOM'):
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'):
Expand Down

0 comments on commit f92efbc

Please sign in to comment.