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

_______________________________________________
redland-dev mailing list
[email protected]
http://lists.librdf.org/mailman/listinfo/redland-dev

Reply via email to