Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32749
Modified Files:
Tag: Feb2009
pftijah.mx
Log Message:
give error message when tijah:query tries to access an ft-index, that is
not created before
U pftijah.mx
Index: pftijah.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v
retrieving revision 1.197.2.8
retrieving revision 1.197.2.9
diff -u -d -r1.197.2.8 -r1.197.2.9
--- pftijah.mx 2 Mar 2009 15:17:59 -0000 1.197.2.8
+++ pftijah.mx 14 Mar 2009 07:37:32 -0000 1.197.2.9
@@ -341,6 +341,9 @@
res := tj_options.find("ft-index");
}
if ( chk_exists ) {
+ if ( not(view_bbp_name().reverse().exist("tj_collName")) ) {
+ ERROR("tj_get_ft_index, ft-index \"%s\" does not exist. create full
text index using tijah:create-ft-index()\n",res);
+ }
if ( not(bat("tj_collName").reverse().exist(res)) ) {
ERROR("tj_get_ft_index, ft-index \"%s\" does not exist\n",res);
}
@@ -4372,6 +4375,8 @@
*
*/
+#define LEAK_PROBLEM
+
int CMDpf2tijah_node(BAT** res, BAT* doc_name, BAT* doc_firstpre, BAT*
doc_pfpre, BAT* item, BAT* kind, BAT* doc_loaded ) {
int debug = 0;
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins