Changeset: c115aed0aa52 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/c115aed0aa52
Modified Files:
        sql/backends/monet5/sql_gencode.c
Branch: new_rmt_opt
Log Message:

Adapts remote body gen to new REMOTE prop


diffs (21 lines):

diff --git a/sql/backends/monet5/sql_gencode.c 
b/sql/backends/monet5/sql_gencode.c
--- a/sql/backends/monet5/sql_gencode.c
+++ b/sql/backends/monet5/sql_gencode.c
@@ -353,7 +353,8 @@ static int
        Client c = MCgetClient(m->clientid);
        MalBlkPtr curBlk = 0;
        InstrPtr curInstr = 0, p, o;
-       sqlid table_id = prp->id;
+       tid_uri *tu = ((list*)prp->value.pval)->h->data;
+       sqlid table_id = tu->id;
        node *n;
        int i, q, v, res = -1, added_to_cache = 0, *lret, *rret;
        size_t len = 1024, nr, pwlen = 0;
@@ -388,6 +389,7 @@ static int
 
        sql_table *rt = sql_trans_find_table(m->session->tr, table_id);
        const char *uri = mapiuri_uri(rt->query, m->sa);
+       assert(strcmp(tu->uri, uri) == 0);
        if (!rt) {
                sql_error(m, 10, SQLSTATE(HY013) MAL_MALLOC_FAIL);
                goto cleanup;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to