Changeset 15727


Ignore:
Timestamp:
2008-05-27T15:45:45+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Added a dbutil::get_default_infodb_type() function, and called it from basebuilder if no 'infodbtype' value is specified in the collect.cfg file.

Location:
gsdl/trunk/perllib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/basebuilder.pm

    r15726 r15727  
    101101
    102102    # get the database type for this collection from the collect.cfg file (may be undefined)
    103     $self->{'infodbtype'} = $self->{'collect_cfg'}->{'infodbtype'} || "";
     103    $self->{'infodbtype'} = $self->{'collect_cfg'}->{'infodbtype'} || &dbutil::get_default_infodb_type();
    104104
    105105    # get the list of plugins for this collection
  • gsdl/trunk/perllib/dbutil.pm

    r15725 r15727  
    2727
    2828use strict;
     29
     30
     31sub get_default_infodb_type
     32{
     33    return "gdbm";
     34}
    2935
    3036
Note: See TracChangeset for help on using the changeset viewer.