From 78ee0c8a610187b149191e175013481a268dec6a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 4 Jun 2009 00:20:19 +0000 Subject: Centralize storage creation and only create SPO and OPS indices (TODO: Add API for user to select, predicate-variable queries will be slow this way). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2090 a436a847-0d15-0410-975c-d299462d15a1 --- src/plugin.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/plugin.c') diff --git a/src/plugin.c b/src/plugin.c index 1b6f3de..26168e2 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -195,9 +195,7 @@ slv2_plugin_load(SLV2Plugin p) if (!p->storage) { assert(!p->rdf); - p->storage = librdf_new_storage(p->world->world, "trees", NULL, NULL); - if (!p->storage) - p->storage = librdf_new_storage(p->world->world, "memory", NULL, NULL); + p->storage = slv2_world_new_storage(p->world); p->rdf = librdf_new_model(p->world->world, p->storage, NULL); } -- cgit v1.2.1