Changeset 16176
- Timestamp:
- 2008-06-25T14:13:16+12:00 (15 years ago)
- Location:
- gsdl/trunk/perllib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/basebuilder.pm
r15728 r16176 402 402 &dbutil::write_infodb_entry($self->{'infodbtype'}, $infodb_handle, "browselist", $browselist_infodb); 403 403 404 close ($infodb_handle) if !$self->{'debug'};404 &dbutil::close_infodb_write_handle($self->{'infodbtype'}, $infodb_handle) if !$self->{'debug'}; 405 405 406 406 print STDERR "</Stage>\n" if $self->{'gli'}; -
gsdl/trunk/perllib/dbutil.pm
r15748 r16176 29 29 30 30 31 sub close_infodb_write_handle 32 { 33 my $infodb_type = shift(@_); 34 my $infodb_handle = shift(@_); 35 36 if ($infodb_type eq "sqlite") 37 { 38 return &close_infodb_write_handle_sqlite($infodb_handle); 39 } 40 41 # Use GDBM if the infodb type is empty or not one of the values above 42 return &close_infodb_write_handle_gdbm($infodb_handle); 43 } 44 45 31 46 sub get_default_infodb_type 32 47 { … … 103 118 # GDBM IMPLEMENTATION 104 119 # ---------------------------------------------------------------------------------------- 120 121 sub close_infodb_write_handle_gdbm 122 { 123 my $infodb_handle = shift(@_); 124 125 close($infodb_handle); 126 } 127 105 128 106 129 sub get_infodb_file_path_gdbm … … 189 212 # SQLITE IMPLEMENTATION 190 213 # ---------------------------------------------------------------------------------------- 214 215 sub close_infodb_write_handle_sqlite 216 { 217 my $infodb_handle = shift(@_); 218 219 close($infodb_handle); 220 } 221 191 222 192 223 sub get_infodb_file_path_sqlite
Note:
See TracChangeset
for help on using the changeset viewer.