Ignore:
Timestamp:
2016-12-09T21:24:55+13:00 (7 years ago)
Author:
ak19
Message:

This commit is related to but not specific to the upcoming commit to do with the new oaiinfo db and its directly affected files. This commit: New remove and rename (move) methods in DB package to clean up main db file and any additional db files created by any specific infodbtype. The new methods in dbutil/jdbm.pm are not called, for some reason. Requires more investigation, but committing for now.

File:
1 edited

Legend:

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

    r30517 r31188  
    564564## write_infodb_rawentry(string, *) => void ##
    565565
     566## @function rename_db_file_to(string, string) => void
     567#
     568sub rename_db_file_to {
     569    my $infodb_type = shift(@_);
     570    my $driver = _loadDBDriver($infodb_type);
     571    $driver->rename_db_file_to(@_);   
     572}
     573## rename_db_file_to(string, string) => void ##
     574
     575## @function remove_db_file(string) => void
     576#
     577sub remove_db_file {
     578    my $infodb_type = shift(@_);
     579    my $driver = _loadDBDriver($infodb_type);
     580    $driver->remove_db_file(@_);   
     581}
     582## remove_db_file(string, string) => void ##
     583
    5665841;
Note: See TracChangeset for help on using the changeset viewer.