[redland-dev] CONSTRUCT query with no results
Dave Beckett
dave at dajobe.org
Wed Apr 28 00:23:24 CEST 2010
On Tue, 27 Apr 2010, Nicholas J Humfrey wrote:
> Hello,
>
> I have just discovered that librdf_query_results_as_stream(results)
> returns NULL if a CONSTRUCT query does not produce any results.
>
> Would it be ok if I modified the behaviour to return an empty stream instead?
That seems fine. An empty stream is a valid result whereas returning
NULL tends to indicate an error, which is not the case really.
Dave
More information about the redland-dev
mailing list