Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sc8-pr-cvs16:/tmp/cvs-serv11385

Modified Files:
        sql_scenario.mx sql_gencode.mx 
Log Message:
The MalBlk now contains a flag to control keeping
a history. This is an expensive operations, primarilly
of interest to SQL debugging.


Index: sql_scenario.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_scenario.mx,v
retrieving revision 1.259
retrieving revision 1.260
diff -u -d -r1.259 -r1.260
--- sql_scenario.mx     27 Apr 2007 09:45:50 -0000      1.259
+++ sql_scenario.mx     3 May 2007 15:58:28 -0000       1.260
@@ -782,9 +782,11 @@
        if( onoff){
                newStmt(c->curprg->def,"mdb","start");
                c->debugOptimizer= TRUE;
+               c->curprg->def->keephistory= TRUE;
        } else {
                newStmt(c->curprg->def,"mdb","stop");
                c->debugOptimizer= FALSE;
+               c->curprg->def->keephistory= FALSE;
        }
 }
 

Index: sql_gencode.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_gencode.mx,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -d -r1.243 -r1.244
--- sql_gencode.mx      27 Apr 2007 09:45:50 -0000      1.243
+++ sql_gencode.mx      3 May 2007 15:58:28 -0000       1.244
@@ -1863,6 +1863,7 @@
                c->curprg = newFunction("tmp", FUNCTIONsymbol);
 
        curPrg = c->curprg;
+       curPrg->def->keephistory= backup->def->keephistory;
        curBlk = curPrg->def;
        curInstr = getInstrPtr(curBlk, 0);
        /* we do not return anything */


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to