Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18839/src/mal

Modified Files:
      Tag: MonetDB_5-2
        mal_import.mx 
Log Message:
cleanup: use the clientRestore (mx ugh) macro.


Index: mal_import.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_import.mx,v
retrieving revision 1.70.2.1
retrieving revision 1.70.2.2
diff -u -d -r1.70.2.1 -r1.70.2.2
--- mal_import.mx       27 Oct 2007 07:52:42 -0000      1.70.2.1
+++ mal_import.mx       29 Oct 2007 07:12:22 -0000      1.70.2.2
@@ -264,7 +264,8 @@
 mal_export str compileString(Symbol *fcn, Client c, str s);
 @c
 str
-compileString(Symbol *fcn, Client c, str s){
+compileString(Symbol *fcn, Client c, str s)
+{
        @:restoreState@
        int len = strlen(s);
        buffer *b;
@@ -304,11 +305,7 @@
        }
        *fcn= c->curprg;
        /* restore IO channel */
-       @:restoreClient1()@
-       c->listing = oldlisting;
-       c->glb = oldglb;
-       c->nspace = oldnspace;
-       c->curprg = oldprg;
+       @:restoreClient()@
        GDKfree(qry);
        GDKfree(b);
        return MAL_SUCCEED;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to