Changeset: 4f821f06735e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4f821f06735e
Modified Files:
        sql/backends/monet5/wlr.c
Branch: wlcr
Log Message:

Get actual timestamp from stack


diffs (17 lines):

diff --git a/sql/backends/monet5/wlr.c b/sql/backends/monet5/wlr.c
--- a/sql/backends/monet5/wlr.c
+++ b/sql/backends/monet5/wlr.c
@@ -382,9 +382,10 @@ WLRreplicate(Client cntxt, MalBlkPtr mb,
        } else  
                wlr_limit = -1;
 
-       if( getArgType(mb, pci, pci->argc-1) == TYPE_timestamp)
-               timestamp_tostr(&timelimit, &size, (timestamp*) 
&getVarConstant(mb,getArg(pci,2)).val.lval);
-       else
+       if( getArgType(mb, pci, pci->argc-1) == TYPE_timestamp){
+               timestamp_tostr(&timelimit, &size, (timestamp*) 
getArgReference(stk,pci,2));
+               mnstr_printf(cntxt->fdout,"#time limit %s\n",timelimit);
+       } else
        if( getArgType(mb, pci, pci->argc-1) == TYPE_bte)
                wlr_limit = getVarConstant(mb,getArg(pci,2)).val.btval;
        else
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to