Changeset 2679 for trunk/gsdl/src


Ignore:
Timestamp:
2001-07-27T13:51:20+12:00 (23 years ago)
Author:
kjm18
Message:

added unload_database() function to search and mgppsearch classes
(but it doesn't do anything in mgppsearchclass)

Location:
trunk/gsdl/src/colservr
Files:
4 edited

Legend:

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

    r2549 r2679  
    272272}
    273273
    274 
    275 
    276 
    277 
    278 
     274// used to clear any cached databases for persistent versions of
     275// Greenstone like the Windows local library
     276void mgppsearchclass::unload_database () {
     277
     278  // not sure what needs to go in here if anything [27-7-01, kjm18]
     279}
     280
     281
     282
     283
     284
  • trunk/gsdl/src/colservr/mgppsearch.h

    r1908 r2679  
    7575  */
    7676  void set_gdbm_level(text_t &level);
     77 
     78  // used to clear any cached databases for persistent versions of
     79  // Greenstone like the Windows local library
     80  void unload_database ();
    7781
    7882 protected:
  • trunk/gsdl/src/colservr/mgsearch.h

    r2545 r2679  
    8484  // using a persistent version of Greenstone like the windows local
    8585  // library)
    86   void mgsearchclass::unload_database ();
     86  void unload_database ();
    8787
    8888
  • trunk/gsdl/src/colservr/search.h

    r1906 r2679  
    6464             text_t &output)=0;
    6565
     66  // unload_database clears any cached databases -
     67  // this is useful when attempting to
     68  // completely remove all trace of a collectionserver at runtime (when
     69  // using a persistent version of Greenstone like the windows local
     70  // library)
     71  virtual void unload_database ()=0;
     72
    6673protected:
    6774  querycache *cache;
Note: See TracChangeset for help on using the changeset viewer.