Changeset 31188 for main/trunk/greenstone2/perllib/DBDrivers
- Timestamp:
- 2016-12-09T21:24:55+13:00 (7 years ago)
- Location:
- main/trunk/greenstone2/perllib/DBDrivers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/DBDrivers/BaseDBDriver.pm
r30517 r31188 344 344 345 345 346 ## @function rename_db_file_to(string, string) => void 347 # 348 sub rename_db_file_to { 349 my $self = shift(@_); 350 my ($srcpath, $destpath) = @_; 351 352 # rename basic db file 353 &FileUtils::moveFiles($srcpath, $destpath); 354 355 # subclass should rename any additional files that the specific dbtype creates 356 } 357 ## rename_db_file_to(string, string) => void ## 358 359 ## @function remove_db_file(string) => void 360 # 361 sub remove_db_file { 362 my $self = shift(@_); 363 my ($db_filepath) = @_; 364 365 # remove basic db file 366 &FileUtils::removeFiles($db_filepath); 367 368 # subclass must rename any additional files that the specific dbtype creates (e.g. transaction log files) 369 } 370 ## remove_db_file(string, string) => void ## 371 372 346 373 ## @function supportsDatestamp(void) => integer 347 374 # -
main/trunk/greenstone2/perllib/DBDrivers/GDBM.pm
r30370 r31188 70 70 # Handled by BaseDBDriver 71 71 # sub get_infodb_file_path(string, string) => string 72 # sub rename_db_file_to(string, string) => void 73 # sub remove_db_file(string) => void 72 74 73 75 # Handled by 70HyphenFormat -
main/trunk/greenstone2/perllib/DBDrivers/JDBM.pm
r30517 r31188 83 83 # ----------------------------------------------------------------------------- 84 84 85 # When DBUtil::* is properly structured with inherit ence, then85 # When DBUtil::* is properly structured with inheritance, then 86 86 # much of this code (along with GDBM and GDBM-TXT-GZ) can be grouped into 87 87 # a shared base class. Really it is only the the command that needs to … … 91 91 # sub get_infodb_file_path {} 92 92 93 # Handle sby 70HyphenFormat93 # Handled by 70HyphenFormat 94 94 # sub open_infodb_write_handle(string, string?) => filehandle 95 95 # sub close_infodb_write_handle(filehandle) => void
Note:
See TracChangeset
for help on using the changeset viewer.