Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22905

Modified Files:
        pftijah.mx 
Log Message:
- fix problem with non-commited rtags bat in conjunction with the new index
  structure checked in by Henning today.
- remove bogus extra_commit code used to trace a bug encounterd by Roberto.



Index: pftijah.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- pftijah.mx  14 Jan 2008 14:06:08 -0000      1.160
+++ pftijah.mx  14 Jan 2008 14:30:36 -0000      1.161
@@ -298,8 +298,6 @@
 
 var verbose      := false;
 
-var extra_commit := false;
-
 const dflt_ft_index   := "DFLT_FT_INDEX";
 const dflt_bg_index   := "DFLT_FT_INDEX";
 const dflt_score_base := "0";
@@ -983,7 +981,6 @@
       _tj_add2collection(ftiName, collBat, uri_loc, uri_name, store);
       _tj_finalize_collection(ftiName, collBat, FALSE);
       _tj_commit(collBat); 
-      if ( extra_commit ) subcommit(_tj_collection_str(ftiName));
       if ( timing ) {
          var ms := (usec()-t_start)/1000;
          printf("#C[%s]:tj_add2collection(): + aggregate time = 
%lld.%03llds.\n",ftiName,/(ms,1000),%(ms,1000));
@@ -1025,7 +1022,6 @@
          printf("#C[%s]:tj_add2collection(BAT): + aggregate time = 
%lld.%03llds.\n",ftiName,/(ms,1000),%(ms,1000));
        }
       _tj_commit(collBat); 
-      if ( extra_commit ) subcommit(_tj_collection_str(ftiName));
     });
     lock_unset(coll_lock);
     if (not(isnil(err))) ERROR(err);
@@ -1155,10 +1151,12 @@
         var replaceBats := collBat.find("replaceBats");
         replaceBats.insert("_globalTerms", _tj_TermBat(ftiName));
         replaceBats.insert("_globalTags", _tj_TagBat(ftiName));
+        replaceBats.insert("_globalTags", _tj_RTagBat(ftiName));
     
     }
     collBat.find("submitBats").append(_tj_TermBat(ftiName));
     collBat.find("submitBats").append(_tj_TagBat(ftiName));
+    collBat.find("submitBats").append(_tj_RTagBat(ftiName));
     
     if ( timing ) {
         var ms := (usec()-t_start)/1000;


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to