[Lxr-commits] CVS: lxr genxref,1.43,1.44
Brought to you by:
ajlittoz
From: Malcolm B. <mb...@us...> - 2009-05-14 21:13:24
|
Update of /cvsroot/lxr/lxr In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv32729 Modified Files: genxref Log Message: Remote obsolete Index::DB backend that used NDBM storage. Now only Postgres, Mysql and Oracle are supported as backends. Add a commit method to the Index interface that flushes a transaction to disk and starts another one. Added appropriate calls from genxref to Index::commit Index: genxref =================================================================== RCS file: /cvsroot/lxr/lxr/genxref,v retrieving revision 1.43 retrieving revision 1.44 diff -u -d -r1.43 -r1.44 --- genxref 10 May 2009 11:54:29 -0000 1.43 +++ genxref 14 May 2009 21:13:07 -0000 1.44 @@ -93,6 +93,7 @@ gensearch($version); genindex('/', $version); genrefs('/', $version); + $index->commit; } $index->DESTROY(); @@ -107,6 +108,7 @@ } else { &LXR::Tagger::processfile($pathname, $releaseid, $config, $files, $index) unless exists $binaryfiles{$pathname}; + $index->commit; } } @@ -120,6 +122,7 @@ } else { &LXR::Tagger::processrefs($pathname, $releaseid, $config, $files, $index) unless exists $binaryfiles{$pathname}; + $index->commit; } } |