projects
/
mp-sparql-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow no element set name again
[mp-sparql-moved-to-github.git]
/
src
/
filter_sparql.cpp
diff --git
a/src/filter_sparql.cpp
b/src/filter_sparql.cpp
index
681575a
..
34759e5
100644
(file)
--- a/
src/filter_sparql.cpp
+++ b/
src/filter_sparql.cpp
@@
-426,13
+426,13
@@
Z_Records *yf::SPARQL::Session::fetch(
for (; it != fset->results.end(); it++)
{
for (; it != fset->results.end(); it++)
{
- if (schema && !strcmp(esn->u.generic, it->conf->schema.c_str()))
- break;
if (yaz_sparql_lookup_schema(it->conf->s, schema))
{
uri_lookup = true;
break;
}
if (yaz_sparql_lookup_schema(it->conf->s, schema))
{
uri_lookup = true;
break;
}
+ if (!schema || !strcmp(esn->u.generic, it->conf->schema.c_str()))
+ break;
}
if (it == fset->results.end())
{
}
if (it == fset->results.end())
{