[redland-dev] [Rasqal RDF Query Library 0000461]: librdf error - query language vsparql already registered
Mantis Bug Tracker
mantis-bug-sender at librdf.org
Wed Aug 24 16:32:46 CEST 2011
The following issue has been SUBMITTED.
======================================================================
http://bugs.librdf.org/mantis/view.php?id=461
======================================================================
Reported By: njh
Assigned To:
======================================================================
Project: Rasqal RDF Query Library
Issue ID: 461
Category: api
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Query Language:
======================================================================
Date Submitted: 2011-08-24 14:32
Last Modified: 2011-08-24 14:32
======================================================================
Summary: librdf error - query language vsparql already
registered
Description:
When librdf is compiled as a static library with Modules turned off and Virtuoso
support turned on, I get the following error message while librdf is starting
up:
librdf error - query language vsparql already registered
This seems to be caused by librdf_init_query_virtuoso() being called twice.
The first call is in the Virtuoso storage initialisation:
https://github.com/dajobe/librdf/blob/master/src/rdf_storage_virtuoso.c#L3081
https://github.com/dajobe/librdf/blob/master/src/rdf_storage_virtuoso.c#L3098
The other call is in librdf_init_query():
https://github.com/dajobe/librdf/blob/master/src/rdf_query.c#L75
(this is only called if modules are enabled).
Would it be wrong to remove the call to librdf_init_query_virtuoso() in
rdf_query.c?
I am not sure why there is there?
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-08-24 14:32 njh New Issue
======================================================================
More information about the redland-dev
mailing list