mirror of https://gitee.com/bigwinds/arangodb
re-enable index
This commit is contained in:
parent
a79967cd3b
commit
8206afa0b1
|
@ -65,10 +65,8 @@ function createStatisticsCollection (name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (collection !== null) {
|
if (collection !== null) {
|
||||||
if (db._engine().name != "rocksdb") {
|
|
||||||
collection.ensureIndex({ type: 'skiplist', fields: [ 'time' ] });
|
collection.ensureIndex({ type: 'skiplist', fields: [ 'time' ] });
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue