Changeset 15680 for gsdl/trunk/src/colservr/queryfilter.cpp
- Timestamp:
- 2008-05-23T14:40:43+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/colservr/queryfilter.cpp
r15595 r15680 26 26 #include "queryfilter.h" 27 27 #include "fileutil.h" 28 #include "gsdltools.h"29 #include <assert.h>30 28 31 29 … … 404 402 } 405 403 404 if (db_ptr == NULL) { 405 // most likely a configuration problem 406 logout << text_t2ascii 407 << "configuration error: queryfilter contains a null dbclass\n\n"; 408 return false; 409 } 410 406 411 // get the filename for the database and make sure it exists 407 412 if (indexstem.empty()) { … … 409 414 } 410 415 db_filename = filename_cat(dbhome, "collect", collection, "index", "text", indexstem); 411 412 if (littleEndian()) db_filename += ".ldb"; 413 else db_filename += ".bdb"; 414 416 db_filename += db_ptr->getfileextension(); 415 417 if (!file_exists(db_filename)) { 416 418 logout << text_t2ascii
Note:
See TracChangeset
for help on using the changeset viewer.