Changeset: c6cef5ccdb84 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c6cef5ccdb84
Added Files:
        monetdb5/extras/rdf/rdfalgebra.c
Modified Files:
        monetdb5/extras/rdf/Makefile.ag
        monetdb5/extras/rdf/rdf.h
Branch: lodrdf
Log Message:

Add rdfalgebra.c for handling leftfetchjoin_sorted
Update the Makefile.ag for compiling new created files.


diffs (50 lines):

diff --git a/monetdb5/extras/rdf/Makefile.ag b/monetdb5/extras/rdf/Makefile.ag
--- a/monetdb5/extras/rdf/Makefile.ag
+++ b/monetdb5/extras/rdf/Makefile.ag
@@ -24,8 +24,28 @@ INCLUDES = ../../modules/atoms ../../mod
 
 MTSAFE
 
-lib_rdf = {
-       NOINST
-       DIR = libdir/monetdb5
-       SOURCES = rdf_shredder.mx rdf.h
+lib__rdf = {
+       MODULE
+        DIR = libdir/monetdb5
+        SOURCES = rdf.h rdf_shredder.mx rdfalgebra.c
+
+        LIBS = ../../tools/libmonetdb5 \
+                ../../../gdk/libbat \
+                $(MALLOC_LIBS) $(raptor_LIBS)
 }
+
+headers_rdf_mal = {
+        HEADERS = mal
+        DIR = libdir/monetdb5
+        SOURCES = rdfalgebra.mal
+}
+
+headers_autoload = {
+        HEADERS = mal
+        DIR = libdir/monetdb5/autoload
+        SOURCES = 10_rdf.mal
+}
+
+#EXTRA_DIST_DIR = Tests
+EXTRA_DIST = 10_rdf.mal rdfalgebra.mal
+
diff --git a/monetdb5/extras/rdf/rdf.h b/monetdb5/extras/rdf/rdf.h
--- a/monetdb5/extras/rdf/rdf.h
+++ b/monetdb5/extras/rdf/rdf.h
@@ -41,7 +41,7 @@
 #define _RDF_DEBUG
 
 rdf_export str
-RDFParser(int *retval, str *location, str *graphname, str *schemam);
+RDFParser(BAT **graph, str *location, str *graphname, str *schemam);
 
 #define TRIPLE_STORE 1
 #define MLA_STORE    2
diff --git a/monetdb5/extras/rdf/rdfalgebra.c b/monetdb5/extras/rdf/rdfalgebra.c
new file mode 100644
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to