Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14332/compiler/algebra/prop
Modified Files:
Tag: M5XQ
prop_ocol.c
Log Message:
propagated changes of Thursday Nov 05 2009 - Monday Nov 09 2009
from the development trunk to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/11/05 - singhan: compiler/algebra/prop/prop_ocol.c,1.77
XQuery full-text search support initial version!
This initial version provides support to
-ftcontains keyword,
e.g., for $f in doc("menu.xml")//food[./name ftcontains "Belgian Waffles"]
return $f
The above query will return all the food nodes that has some relevancy over
"Belgian Waffles"
-initial score variable support
e.g., for $f score $s in doc("menu.xml")//food[./name ftcontains "Belgian
Waffles"]
return $s
The above query will return the relevancy score of all the matched food
nodes, however since its an initial version, the support to this score variable
is very limited.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: prop_ocol.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_ocol.c,v
retrieving revision 1.73.2.3
retrieving revision 1.73.2.4
diff -u -d -r1.73.2.3 -r1.73.2.4
--- prop_ocol.c 5 Oct 2009 12:13:47 -0000 1.73.2.3
+++ prop_ocol.c 9 Nov 2009 00:03:18 -0000 1.73.2.4
@@ -75,7 +75,7 @@
}
/**
- * Determine type of column @a col in schema @a schema.
+ * Determine type of column @a col in schema @a schema.
*/
PFalg_simple_type_t
PFprop_type_of_ (PFalg_schema_t schema, PFalg_col_t col)
@@ -85,8 +85,8 @@
return schema.items[i].type;
/* you should never get there */
- PFoops (OOPS_FATAL,
- "Type of %s not found in schema", PFcol_str (col));
+ /*PFoops (OOPS_FATAL,
+ "Type of %s not found in schema", PFcol_str (col));*/
return aat_int; /* satisfy picky compilers */
}
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins