[redland-dev] Preventing duplicate triples in memory store

Michael Stahl Michael.Stahl at Sun.com
Tue Aug 11 13:01:56 CEST 2009


Sebastian Trüg wrote:
> Hi folks,
> 
> is there a possibility to prevent duplicate triples in a redland memory store 
> without having to test before insertion manually?
> 
> Thanks a lot,
> Sebastian Trueg

does the patch i've posted last year meet your needs?
http://lists.usefulinc.com/pipermail/redland-dev/2008-April/001748.html

patch is against "hashes" and "list" stores in 1.0.7 (iirc, it also
applies to 1.0.8 and works; if it does not, i could point you to the patch
in OOo SVN repo which does)

regards,
michael

-- 
"Actually, a language is not so much characterized by what it allows to
 program, but more so by what it prevents from being expressed. Quoting
 the late E. W. Dijkstra, the programmer's most difficult, daily task is
 to not mess things up. It seems to me that the first and noble duty of
 a language is to help in this eternal struggle." -- Niklaus Wirth



More information about the redland-dev mailing list