[redland-dev] [Redland RDF API 0000327]: When librdf_model_add_statement does not add a duplicate statement, it should return non-0

Mantis Bug Tracker mantis-bug-sender at librdf.org
Wed Jan 20 09:50:28 CET 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=327 
====================================================================== 
Reported By:                Cordawyn
Assigned To:                
====================================================================== 
Project:                    Redland RDF API
Issue ID:                   327
Category:                   api
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-01-20 08:50
Last Modified:              2010-01-20 08:50
====================================================================== 
Summary:                    When librdf_model_add_statement does not add a
duplicate statement, it should return non-0
Description: 
If a duplicate statement is "refused", the method returns 0 (success).
While it is possible to check the size of the model before and after the
calls to "librdf_model_add_statement" to see if it's actually added, this
is not a good idea (e.g., in a multi-threaded environment?).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-20 08:50 Cordawyn       New Issue                                    
======================================================================



More information about the redland-dev mailing list