Changeset 21415


Ignore:
Timestamp:
01/04/10 23:14:10 (11 years ago)
Author:
davidb
Message:

Support for JDBM database backend added

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.