Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14636/algebra/prop
Modified Files:
Tag: XQuery_0-22
prop_icol.c prop_reqval.c
Log Message:
-- Hopefully fixing bug [ 1895379 ] PF/alg on Windows 719x "attr. referenced in
proj. not found"
Tomorrows testing will show...
Index: prop_icol.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_icol.c,v
retrieving revision 1.32
retrieving revision 1.32.2.1
diff -u -d -r1.32 -r1.32.2.1
--- prop_icol.c 1 Feb 2008 13:32:02 -0000 1.32
+++ prop_icol.c 18 Feb 2008 12:56:39 -0000 1.32.2.1
@@ -58,7 +58,7 @@
bool
PFprop_icol (const PFprop_t *prop, PFalg_att_t attr)
{
- return prop->icols & attr;
+ return prop->icols & attr ? true : false;
}
/**
@@ -68,7 +68,7 @@
bool
PFprop_icol_left (const PFprop_t *prop, PFalg_att_t attr)
{
- return prop->l_icols & attr;
+ return prop->l_icols & attr ? true : false;
}
/**
@@ -78,7 +78,7 @@
bool
PFprop_icol_right (const PFprop_t *prop, PFalg_att_t attr)
{
- return prop->r_icols & attr;
+ return prop->r_icols & attr ? true : false;
}
/**
Index: prop_reqval.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_reqval.c,v
retrieving revision 1.36
retrieving revision 1.36.2.1
diff -u -d -r1.36 -r1.36.2.1
--- prop_reqval.c 1 Feb 2008 13:32:02 -0000 1.36
+++ prop_reqval.c 18 Feb 2008 12:56:40 -0000 1.36.2.1
@@ -57,7 +57,7 @@
#define EDGE(n) ((n)->refctr)
#define empty_list 0
-#define in(a,b) ((a) & (b))
+#define in(a,b) ((a) & (b) ? true : false)
/**
* Test if @a attr is in 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