Skip to content
Permalink
Browse files

db manager oracle plugin: avoid tablespace index parameter

  • Loading branch information
jef-n authored and rldhont committed Dec 2, 2015
1 parent 57fd76c commit edd3f8dbc73943af66c1c0086a7b7f598359256f
Showing with 1 addition and 3 deletions.
  1. +1 −3 python/plugins/db_manager/db_plugins/oracle/connector.py
@@ -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'):

0 comments on commit edd3f8d

Please sign in to comment.
You can’t perform that action at this time.