Ignore:
Timestamp:
2007-01-24T16:48:54+13:00 (17 years ago)
Author:
mdewsnip
Message:

GLI/LOCAL LIBRARY: To prevent the problems with the GLI being unable to install newly built collections because the local library is holding files open, much more care needs to be taken to close files (typically the GDBM database and the MG/MGPP index files) after use. Fixed a lot of places where files were being left open.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/mgsearch.cpp

    r9937 r13780  
    336336    // retrieve the results
    337337    getresults (queryparams, queryresults);
     338    unload_database();  // Important that local library doesn't leave any files open
    338339    return true;
    339340  }
     
    561562  }
    562563
     564  unload_database();  // Important that local library doesn't leave any files open
    563565  return (bool)databaseloaded;
    564566}
Note: See TracChangeset for help on using the changeset viewer.