Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29828/src/gdk

Modified Files:
        gdk_relop.mx 
Log Message:
added 2 more propcheck's (I know this is a hack), we should one day
check all these PROPCHECK ALL calls.


Index: gdk_relop.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_relop.mx,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- gdk_relop.mx        1 Feb 2008 12:21:37 -0000       1.140
+++ gdk_relop.mx        13 Feb 2008 09:11:50 -0000      1.141
@@ -1178,8 +1178,10 @@
         * `debugmask(or(debugmask(),16777216));` in MIL.
         */
        JOINPROPCHK {
-               if (b)
+               if (b) {
                        BATpropcheck(b, BATPROPS_ALL);
+                       BATpropcheck(BATmirror(b), BATPROPS_ALL);
+               }
        }
 
        return b;
@@ -2087,6 +2089,15 @@
        if (tmp) {
                BBPreclaim(tmp);
        }
+       /* invest in property check, since we cannot easily derive the result 
properties,
+        * but later operations might benefit from / depend on them
+        * Disable at runtime via `Mserver --debug=16777216` or
+        * `debugmask(or(debugmask(),16777216));` in MIL.
+        */
+       JOINPROPCHK {
+               if (bn) 
+                       BATpropcheck(BATmirror(bn), BATPROPS_ALL);
+       }
        return bn;
 }
 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to