Changeset 21415

Show
Ignore:
Timestamp:
04.01.2010 23:14:10 (9 years ago)
Author:
davidb
Message:

Support for JDBM database backend added

Files:
1 modified

Legend:

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

    r21324 r21415  
    3030#include "gsdlsitecfg.h" 
    3131#include "gdbmclass.h" 
     32#include "jdbmnaiveclass.h" 
    3233#include "gsdltools.h" 
    3334#include "fileutil.h" 
     
    320321      } 
    321322#endif 
     323 
     324    if (infodbtype == "jdbm") { 
     325 
     326    jdbmnaiveclass *jdbm_db_ptr = new jdbmnaiveclass(gsdlhome); 
     327    db_ptr = jdbm_db_ptr; 
     328    } 
    322329   
    323330    // Use GDBM if the infodb type is empty or not one of the values above