Ignore:
Timestamp:
2017-02-08T19:08:39+13:00 (7 years ago)
Author:
ak19
Message:

Second commit to do with implementing OAI deletion policy for GS2. This commit is only loosely related, as it shifts functions duplicated in source.h and filter.h (and cpp files) into the new colserver.h and cpp files for sharing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/colservr/queryfilter.cpp

    r27084 r31388  
    2525
    2626#include "queryfilter.h"
     27#include "colservertools.h"
    2728#include "fileutil.h"
    2829
     
    253254    indexstem = collection;
    254255  }
    255   db_filename = resolve_db_filename(indexstem,db_ptr->getfileextension());
     256  db_filename = resolve_db_filename(gsdlhome, dbhome, collecthome, collection,
     257                    indexstem,db_ptr->getfileextension());
    256258  if (!file_exists(db_filename)) {
    257259    logout << text_t2ascii
Note: See TracChangeset for help on using the changeset viewer.