Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7569/algebra/prop

Modified Files:
      Tag: XQuery_0-24
        prop_reqval.c 
Log Message:
-- Bugfix: bit encoded column names tend to get negative values
           (at least for some bits :)).


U prop_reqval.c
Index: prop_reqval.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_reqval.c,v
retrieving revision 1.42
retrieving revision 1.42.2.1
diff -u -d -r1.42 -r1.42.2.1
--- prop_reqval.c       7 Apr 2008 11:06:50 -0000       1.42
+++ prop_reqval.c       29 May 2008 11:32:28 -0000      1.42.2.1
@@ -213,7 +213,8 @@
             PFalg_att_t  overlap   = req_bool_vals.name;
             unsigned int bit_shift = 1;
 
-            while (bit_shift <= overlap) {
+            /* an overflow will turn bit_shift into 0 */
+            while (bit_shift) {
                 /* if the values of column that is required by both
                    parents do not match remove this column from the
                    list of required value columns */


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

Reply via email to