[redland-dev] [Redland librdf RDF API 0000393]: [patch] librdf_storage_hashes_context_serialise_get_statement

Mantis Bug Tracker mantis-bug-sender at librdf.org
Tue Oct 12 11:06:32 CEST 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=393 
====================================================================== 
Reported By:                mst
Assigned To:                
====================================================================== 
Project:                    Redland librdf RDF API
Issue ID:                   393
Category:                   api
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-10-12 09:06
Last Modified:              2010-10-12 09:06
====================================================================== 
Summary:                    [patch]
librdf_storage_hashes_context_serialise_get_statement
Description: 
originally from this mail:
http://lists.librdf.org/pipermail/redland-dev/2008-May/001755.html

hmm, this one looks like a base64 blob as well... that's what it should
say:

so i found another problem in librdf_stream_get_context... namely that it 
does not work with hashes storage.

the problem is actually 
librdf_storage_hashes_context_serialise_get_statement, which overwrites 
the context_node with NULL.
it seems to me that in the case of context_serialise, the context should 
be the same for every element of the stream, so i just removed the 
offending update.
see attached patch.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-12 09:06 mst            New Issue                                    
2010-10-12 09:06 mst            File Added:
redland-1.0.7-hashes_context_serialise.patch                    
======================================================================



More information about the redland-dev mailing list