Ignore:
Timestamp:
2010-10-19T14:54:25+13:00 (14 years ago)
Author:
kjdon
Message:

if infodbtype is gdbm-txtgz, we need to use gdbm for all archives dbs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/inexport.pm

    r23132 r23170  
    192192      $collectcfg->{'infodbtype'} = &dbutil::get_default_infodb_type();
    193193    }
    194 
     194    if ($collectcfg->{'infodbtype'} eq "gdbm-txtgz") {
     195    # we can't use the text version for archives dbs.
     196    $collectcfg->{'infodbtype'} = "gdbm";
     197    }
    195198    if (defined $collectcfg->{'importdir'} && $importdir eq "") {
    196199    $importdir = $collectcfg->{'importdir'};
Note: See TracChangeset for help on using the changeset viewer.