From 68e5fb43df261256b201073d88c14fddad0ee7ed Mon Sep 17 00:00:00 2001 From: Tpt Date: Mon, 7 Oct 2019 11:27:08 +0200 Subject: [PATCH] Makes sure that all RocksDB columns are created --- lib/src/store/rocksdb.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/store/rocksdb.rs b/lib/src/store/rocksdb.rs index 9062f98a..deb5ab21 100644 --- a/lib/src/store/rocksdb.rs +++ b/lib/src/store/rocksdb.rs @@ -67,7 +67,9 @@ const EMPTY_BUF: [u8; 0] = [0 as u8; 0]; //TODO: indexes for the default graph and indexes for the named graphs (no more Optional and space saving) -const COLUMN_FAMILIES: [&str; 5] = [ID2STR_CF, STR2ID_CF, SPOG_CF, POSG_CF, OSPG_CF]; +const COLUMN_FAMILIES: [&str; 8] = [ + ID2STR_CF, STR2ID_CF, SPOG_CF, POSG_CF, OSPG_CF, GSPO_CF, GPOS_CF, GOSP_CF, +]; struct RocksDbStore { db: DB,