Changeset: dca85094ae98 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/dca85094ae98
Modified Files:
        sql/backends/monet5/rel_bin.c
Branch: default
Log Message:

For proto(col)_loader we pass the uri and not a filename.


diffs (17 lines):

diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c
--- a/sql/backends/monet5/rel_bin.c
+++ b/sql/backends/monet5/rel_bin.c
@@ -1591,11 +1591,11 @@ exp2bin_proto_loader(backend *be, sql_ex
        assert(is_atom(fexp->type));
        atom *fa = fexp->l;
        assert(fa->data.vtype == TYPE_str);
-       char *filename = fa->data.val.sval;
+       char *uri = fa->data.val.sval;
        sql_exp *topn = NULL;
        if (list_length(arg_list) == 3)
                topn = list_fetch(arg_list, 2);
-       return (stmt*)pl->load(be, f, filename, topn);
+       return (stmt*)pl->load(be, f, uri, topn);
 }
 
 stmt *
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to