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

Modified Files:
        bbp.mx 
Log Message:
The bbp may only be closed by the admin thread.


Index: bbp.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/bbp.mx,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- bbp.mx      14 May 2007 18:24:23 -0000      1.113
+++ bbp.mx      29 May 2007 19:41:31 -0000      1.114
@@ -283,6 +283,8 @@
        (void) mb;
        (void) stk;
        (void) pci;             /* fool compiler */
+       if (MCgetClient() != mal_clients)
+               throw(MAL, "bbp.close", "not allowed to close 'bbp' box");
        if (closeBox("bbp", TRUE) == 0)
                return MAL_SUCCEED;
        throw(MAL, "bbp.close", "failed to close 'bbp' box");


-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to