Changeset 15587
- Timestamp:
- 2008-05-20T11:24:59+12:00 (16 years ago)
- Location:
- gsdl/trunk/src/colservr
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/colservr/browsefilter.cpp
r15558 r15587 80 80 } 81 81 // get the filename for the database and make sure it exists 82 db_filename = filename_cat( gdbmhome, "collect", collection, "index", "text", indexstem);82 db_filename = filename_cat(dbhome, "collect", collection, "index", "text", indexstem); 83 83 84 84 if (littleEndian()) db_filename += ".ldb"; -
gsdl/trunk/src/colservr/collectserver.cpp
r15419 r15587 84 84 } 85 85 else if (key == "gsdlhome") configinfo.gsdlhome = value; 86 else if (key == "gdbmhome") configinfo. gdbmhome = value;86 else if (key == "gdbmhome") configinfo.dbhome = value; 87 87 else if (key == "collection") { 88 88 configinfo.collection = value; -
gsdl/trunk/src/colservr/collectserver.h
r15002 r15587 59 59 struct colservrconf { 60 60 text_t gsdlhome; 61 text_t gdbmhome;61 text_t dbhome; 62 62 text_t collection; 63 63 text_t collectdir; -
gsdl/trunk/src/colservr/filter.cpp
r9620 r15587 46 46 else if (key == "collectdir") collectdir = value; 47 47 else if (key == "gsdlhome") gsdlhome = value; 48 else if (key == "gdbmhome") gdbmhome = value;48 else if (key == "gdbmhome") dbhome = value; 49 49 else if ((key == "filteroptdefault") && (cfgline.size() == 2)) { 50 50 // see if this filter has an option with this name … … 70 70 } 71 71 72 if ( gdbmhome.empty()) gdbmhome = gsdlhome;72 if (dbhome.empty()) dbhome = gsdlhome; 73 73 74 74 // get the collection directory name -
gsdl/trunk/src/colservr/filter.h
r2212 r15587 36 36 protected: 37 37 text_t gsdlhome; 38 text_t gdbmhome;38 text_t dbhome; 39 39 text_t collection; 40 40 text_t collectdir; -
gsdl/trunk/src/colservr/gdbmsource.cpp
r15584 r15587 48 48 else if (key == "collectdir") collectdir = value; 49 49 else if (key == "gsdlhome") gsdlhome = value; 50 else if (key == "gdbmhome") gdbmhome = value;50 else if (key == "gdbmhome") dbhome = value; 51 51 } 52 52 … … 77 77 outconvertclass text_t2ascii; 78 78 79 if ( gdbmhome.empty()) gdbmhome = gsdlhome;79 if (dbhome.empty()) dbhome = gsdlhome; 80 80 81 81 if (!sourceclass::init (logout)) return false; … … 117 117 indexstem = collection; 118 118 } 119 db_filename = filename_cat( gdbmhome, "collect", collection, "index", "text", indexstem);119 db_filename = filename_cat(dbhome, "collect", collection, "index", "text", indexstem); 120 120 if (littleEndian()) db_filename += ".ldb"; 121 121 else db_filename += ".bdb"; -
gsdl/trunk/src/colservr/gdbmsource.h
r15584 r15587 40 40 protected: 41 41 text_t gsdlhome; 42 text_t gdbmhome;42 text_t dbhome; 43 43 text_t collection; 44 44 text_t collectdir; -
gsdl/trunk/src/colservr/queryfilter.cpp
r15558 r15587 409 409 indexstem = collection; 410 410 } 411 db_filename = filename_cat( gdbmhome, "collect", collection, "index", "text", indexstem);411 db_filename = filename_cat(dbhome, "collect", collection, "index", "text", indexstem); 412 412 413 413 if (littleEndian()) db_filename += ".ldb";
Note:
See TracChangeset
for help on using the changeset viewer.