Changeset: 286dbe82cabe for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=286dbe82cabe
Modified Files:
        monetdb5/extras/rdf/rdf_shredder.c
Branch: rdf
Log Message:

Fix bug when the RDF dataset only contains 1 triple.

- Using BBPunfix in stead of BBPrelaim in post_processing function.


diffs (21 lines):

diff --git a/monetdb5/extras/rdf/rdf_shredder.c 
b/monetdb5/extras/rdf/rdf_shredder.c
--- a/monetdb5/extras/rdf/rdf_shredder.c
+++ b/monetdb5/extras/rdf/rdf_shredder.c
@@ -615,11 +615,13 @@ post_processing (parserData *pdata)
        #endif /* IS_COMPACT_TRIPLESTORE == 0 */
 
        /* free memory */
-       BBPreclaim(S);
+       BBPunfix(S->batCacheid);
+       
        #if IS_COMPACT_TRIPLESTORE == 0
-       BBPreclaim(P);
-       BBPreclaim(O);
-       #endif
+       BBPunfix(P->batCacheid);
+       BBPunfix(O->batCacheid);
+       #endif /* IS_COMPACT_TRIPLESTORE == 0 */
+
 
        return MAL_SUCCEED;
 
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to