Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv24733/modules/pftijah

Modified Files:
        pftijah.mx 
Log Message:
propagated changes of Saturday Mar 14 2009
from the Feb2009 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/03/14 - hrode: modules/pftijah/pftijah.mx,1.197.2.9
give error message when tijah:query tries to access an ft-index, that is
not created before
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: pftijah.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v
retrieving revision 1.217
retrieving revision 1.218
diff -u -d -r1.217 -r1.218
--- pftijah.mx  13 Mar 2009 08:07:24 -0000      1.217
+++ pftijah.mx  14 Mar 2009 18:28:07 -0000      1.218
@@ -367,6 +367,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);
       }
@@ -4551,6 +4554,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;
         int nDocs;


------------------------------------------------------------------------------
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

Reply via email to