Changeset 31723
- Timestamp:
- 2017-06-07T17:07:44+12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/oaiinfo.pm
r31409 r31723 167 167 &FileUtils::copyFiles($oaidb_live_filepath, $oaidb_tmp_filepath); 168 168 169 $initdb = 0; # tmpdb exists, since we just copied livedb to tmpdb, so n eed to init existing tmpdb169 $initdb = 0; # tmpdb exists, since we just copied livedb to tmpdb, so no need to init existing tmpdb 170 170 171 171 } else { # $work_with_existing_tmpdb, so we'll build on top of what's presently already in tmpdb … … 286 286 if($tmpdb_exists) { 287 287 if($livedb_exists) { 288 #&dbutil::remove_db_file($self->{'infodbtype'}, s$oaidb_live_filepath); # remove the db file and any assoc files288 #&dbutil::remove_db_file($self->{'infodbtype'}, $oaidb_live_filepath); # remove the db file and any assoc files 289 289 &dbutil::rename_db_file_to($self->{'infodbtype'}, $oaidb_live_filepath, $oaidb_live_filepath.".bak"); # rename the db file and any assoc files 290 290 }
Note:
See TracChangeset
for help on using the changeset viewer.