Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21370/src/backends/monet5

Modified Files:
      Tag: SQL_2-18
        sql_scenario.mx 
Log Message:
fixed line mode, with multiple statement. Solves the slow SBatching test.


Index: sql_scenario.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_scenario.mx,v
retrieving revision 1.265.2.3
retrieving revision 1.265.2.4
diff -u -d -r1.265.2.3 -r1.265.2.4
--- sql_scenario.mx     24 Jun 2007 18:21:00 -0000      1.265.2.3
+++ sql_scenario.mx     3 Jul 2007 15:31:48 -0000       1.265.2.4
@@ -873,7 +873,6 @@
        lng T0 = 0;
        int pstatus = 0;
        int err = 0;
-       prot oldmode;
 
        be = ((backend *) c->state[MAL_SCENARIO_PARSER]);
        if (be == 0) {
@@ -898,7 +897,6 @@
                m->sa = sa_create();
 
        m->mode = m->explain;
-       oldmode = m->scanner.mode;
        if (be->language == 's') {
                be->language = 'S';
                m->scanner.mode = LINE_1;
@@ -1109,7 +1107,6 @@
 finalize:
        if(m->mode== m_explain  && be->q && be->q->code)
                printFunction(GDKout, ((Symbol)(be->q->code))->def, 
LIST_MAL_INSTR | LIST_MAL_PROPS);
-       m->scanner.mode = oldmode;
 @-
 Gather the statistics for post analysis. It should preferably
 be stored in an SQL table


-------------------------------------------------------------------------
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