Mercurial > hg > svcore
comparison rdf/SimpleSPARQLQuery.cpp @ 495:438f4e295a9c
* Warning, not error
author | Chris Cannam |
---|---|
date | Wed, 26 Nov 2008 13:55:00 +0000 |
parents | 81963c51b488 |
children | db398832518b |
comparison
equal
deleted
inserted
replaced
494:81963c51b488 | 495:438f4e295a9c |
---|---|
76 } | 76 } |
77 librdf_world_open(m_world); | 77 librdf_world_open(m_world); |
78 | 78 |
79 m_defaultStorage = librdf_new_storage(m_world, "trees", NULL, NULL); | 79 m_defaultStorage = librdf_new_storage(m_world, "trees", NULL, NULL); |
80 if (!m_defaultStorage) { | 80 if (!m_defaultStorage) { |
81 std::cerr << "SimpleSPARQLQuery: ERROR: Failed to initialise Redland trees datastore, falling back to memory store" << std::endl; | 81 std::cerr << "SimpleSPARQLQuery: WARNING: Failed to initialise Redland trees datastore, falling back to memory store" << std::endl; |
82 m_defaultStorage = librdf_new_storage(m_world, NULL, NULL, NULL); | 82 m_defaultStorage = librdf_new_storage(m_world, NULL, NULL, NULL); |
83 if (!m_defaultStorage) { | 83 if (!m_defaultStorage) { |
84 std::cerr << "SimpleSPARQLQuery: ERROR: Failed to initialise Redland memory datastore" << std::endl; | 84 std::cerr << "SimpleSPARQLQuery: ERROR: Failed to initialise Redland memory datastore" << std::endl; |
85 return; | 85 return; |
86 } | 86 } |