Update of /cvsroot/monetdb/sql/src/backends/monet4
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21370/src/backends/monet4
Modified Files:
Tag: SQL_2-18
sql_session.mx
Log Message:
fixed line mode, with multiple statement. Solves the slow SBatching test.
Index: sql_session.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet4/sql_session.mx,v
retrieving revision 1.227.2.1
retrieving revision 1.227.2.2
diff -u -d -r1.227.2.1 -r1.227.2.2
--- sql_session.mx 9 Jun 2007 10:41:49 -0000 1.227.2.1
+++ sql_session.mx 3 Jul 2007 15:31:45 -0000 1.227.2.2
@@ -363,7 +363,6 @@
mvc *m = sql->mvc;
int err, go = TRUE;
int language = 'S';
- prot oldmode;
in->eof = 1; /* force prompt on first iteration */
while (go) {
@@ -441,7 +440,6 @@
continue;
}
@c
- oldmode = m->scanner.mode;
if (language == 's') {
language = 'S';
m->scanner.mode = LINE_1;
@@ -499,7 +497,6 @@
m->mode = m->explain;
err = sqlexecute(sql, out);
- m->scanner.mode = oldmode;
if (err) /* output error */
go = handle_error(m, out, pstatus);
}
-------------------------------------------------------------------------
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