Ignore:
Timestamp:
2001-03-21T11:13:12+12:00 (23 years ago)
Author:
sjboddie
Message:

Fixed a couple of little bugs in the collector - bugs only showed up
when using a persistent version of the library (i.e. the local library
or fastcgi)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/collectoraction.cpp

    r2208 r2218  
    14901490  ofile_out.close();
    14911491
     1492  // if we're altering an existing collection we need to kill off
     1493  // the existing collection server - we do this for the local library
     1494  // (and any other persistent version of the library) as the existing
     1495  // gdbm file can't be deleted while the collection server holds it open
     1496  if ((args["bc1econf"] == 1) || (args["bc1esrce"] == 1)) {
     1497    remove_colservr (collection, logout);
     1498  }   
     1499
    14921500  // set up the build command - build.bat has some issues with quoting
    14931501  // on win2k when gsdlhome contains spaces so we'll avoid using
     
    16011609void collectoraction::remove_colservr (const text_t &collection, ostream &logout) {
    16021610
     1611  recpt->uncache_collection (collection);
     1612
    16031613  recptprotolistclass *protos = recpt->get_recptprotolist_ptr();
    16041614  recptprotolistclass::iterator rprotolist_here = protos->begin();
Note: See TracChangeset for help on using the changeset viewer.