Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv12858

Modified Files:
        sql.mx 
Log Message:
fixing compilation error


Index: sql.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql.mx,v
retrieving revision 1.373
retrieving revision 1.374
diff -u -d -r1.373 -r1.374
--- sql.mx      19 Dec 2009 09:45:44 -0000      1.373
+++ sql.mx      19 Dec 2009 17:18:05 -0000      1.374
@@ -870,7 +870,7 @@
        return getVariable:= b;
 end octopus.getVariable;
 
-pattern rdfshred (location:str, gname:str)
+pattern rdfshred (location:str, gname:str, schema:str)
 address SQLrdfShred
 comment "Procedure that wraps around the shredder of the rdf module in MAL. 
 Shredding an RDF data file from location results in 7 new tables (6 
@@ -4428,6 +4428,7 @@
        sql_subtype tpe;
        str *location = (str *) getArgReference(stk,pci,1);
        str *name = (str *) getArgReference(stk,pci,2);
+       str *schema = (str *) getArgReference(stk,pci,3);
        char buff[24];
        mvc *m = NULL;
        int id = 0;
@@ -4437,7 +4438,7 @@
        if (msg)
                return msg;
 
-       sch = mvc_bind_schema(m, "rdf");
+       sch = mvc_bind_schema(m, *schema);
        if ( sch == NULL)
                throw(MAL,"sql.rdfSchred","Schema missing");
        g_tbl = mvc_bind_table(m, sch, "graph");
@@ -4452,7 +4453,7 @@
        store_funcs.append_col(m->session->tr, gname, *name, TYPE_str);
        store_funcs.append_col(m->session->tr, gid, &id, TYPE_int);
 
-       msg = RDFParser(&docbats, location, name);
+       msg = RDFParser(&docbats, location, name, schema);
        if (msg)
                return msg;
 


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to