Changeset: d10c04b77468 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d10c04b77468
Modified Files:
monetdb5/modules/mal/xid.c
monetdb5/optimizer/opt_xid.c
Branch: xid
Log Message:
Remove some debugging
diffs (24 lines):
diff --git a/monetdb5/modules/mal/xid.c b/monetdb5/modules/mal/xid.c
--- a/monetdb5/modules/mal/xid.c
+++ b/monetdb5/modules/mal/xid.c
@@ -248,7 +248,7 @@ XIDcompressCol( Client cntxt, InstrPtr p
col[XID_IDX_ORIG].count = (xid)cnt; /* keep original size */
col[XID_IDX_COMP].count = (xid)(i+1); /* keep compression size
*/
col[XID_IDX_SHIF].count = (xid)min; /* keep oid range shift */
- mnstr_printf(cntxt->fdout,"#xid, %d, %s compress, " BUNFMT ","
BUNFMT ", %4.2f clk " LLFMT " sec "LLFMT " usec\n",
+ mnstr_printf(cntxt->fdout,"#xid, %d, %s compress, " BUNFMT ","
BUNFMT ", %4.2f %% clk " LLFMT " sec "LLFMT " usec\n",
getArg(pci,0), s, cnt, i, i/(cnt/100.0),
GDKusec()/1000000, GDKusec()-clk);
cn->heap.xidcompressed = 1;
diff --git a/monetdb5/optimizer/opt_xid.c b/monetdb5/optimizer/opt_xid.c
--- a/monetdb5/optimizer/opt_xid.c
+++ b/monetdb5/optimizer/opt_xid.c
@@ -68,7 +68,7 @@ OPTxidImplementation(Client cntxt, MalBl
/* compress the result, if at least one column is :oid */
for ( j =0, type= getVarType(mb,getArg(p,j)); j< p->retc; j++,
type= getVarType(mb,getArg(p,j)))
if ( (getTailType(type) == TYPE_oid || getHeadType(type) ==
TYPE_oid) && alias[getArg(p,j)]==0 ){
- mnstr_printf(GDKout,"#got candidate %d head %d tail
%d\n",getArg(p,j), getHeadType(getVarType(mb,getArg(p,j))),
getTailType(getVarType(mb,getArg(p,j))));
+ //mnstr_printf(GDKout,"#got candidate %d head %d tail
%d\n",getArg(p,j), getHeadType(getVarType(mb,getArg(p,j))),
getTailType(getVarType(mb,getArg(p,j))));
q = newStmt(mb,"xid","compress");
q= pushArgument(mb,q, getArg(p,j));
alias [getArg(p,j)] = getArg(q,0);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list