Update of /cvsroot/monetdb/sql/src/backends/monet4
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv1913/src/backends/monet4
Modified Files:
Tag: SQL_2-16
sql_session.mx
Log Message:
removed leftovers of line mode
approved test output
Index: sql_session.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet4/sql_session.mx,v
retrieving revision 1.219.2.2
retrieving revision 1.219.2.3
diff -u -d -r1.219.2.2 -r1.219.2.3
--- sql_session.mx 2 Feb 2007 16:26:26 -0000 1.219.2.2
+++ sql_session.mx 16 Feb 2007 19:49:43 -0000 1.219.2.3
@@ -373,7 +373,7 @@
assert(in->pos == in->len);
- if (in->eof || !isa_block_stream(in->s)) {
+ if (in->eof) {
language = (sql->console) ? 'S' : 0;
/* auto_commit on end of statement */
@@ -387,7 +387,7 @@
}
}
- if ( (!isa_block_stream(in->s) &&
stream_write(out, PROMPT1, sizeof(PROMPT1) - 1, 1) != 1) || stream_flush(out)) {
+ if (stream_flush(out)) {
go = FALSE;
break;
}
@@ -914,7 +914,7 @@
char *schema;
Variable v;
- rs = bstream_create(fc->c->fdin, fc->c->blocked ? (128 * BLOCK) : 0);
+ rs = bstream_create(fc->c->fdin, 128 * BLOCK);
mvc_reset(m, rs, fc->c->fdout, SQLdebug, 10);
schema = mvc_login(m, fc->c->user, fc->c->passwd);
if (!schema) {
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins