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

Modified Files:
        mat.mx 
Log Message:
fixed compilation of mat.mx


Index: mat.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/mat.mx,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- mat.mx      3 Oct 2007 14:00:51 -0000       1.17
+++ mat.mx      4 Oct 2007 13:06:51 -0000       1.18
@@ -141,6 +141,11 @@
        bn= BATdescriptor(stk->stk[getArg(p,1)].val.ival);
        if( bn == NULL)
                throw(MAL, "mat.pack","Could access BAT");
+       if (BAThrestricted(bn) || BATtrestricted(bn)) {
+               b = BATcopy(bn, bn->htype, bn->ttype, 1);
+               BBPunfix(bn->batCacheid);
+               bn = b;
+       }
        for(i=2; i<p->argc; i++){
                b= BATdescriptor(stk->stk[getArg(p,i)].val.ival);
                if( b == NULL)


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