[system] / trunk / webwork / system / scripts / db3_tie.pl Repository:
ViewVC logotype

Diff of /trunk/webwork/system/scripts/db3_tie.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 258 Revision 259
8################################################################################ 8################################################################################
9 9
10use BerkeleyDB; 10use BerkeleyDB;
11use strict; 11use strict;
12 12
13my $TieMaxTries = 1; # try to tie() 30 times, then fail 13my $TieMaxTries = 30; # try to tie() 30 times, then fail
14my $TieSleepInterval = 2; # sleep 2 sec after failed tie() 14my $TieSleepInterval = 2; # sleep 2 sec after failed tie()
15 15
16sub tie_hash { 16sub tie_hash {
17 my($fh, $db_obj_ref, $hash_ref, $file_name, $mode_flag, $file_mode) = @_; 17 my($fh, $db_obj_ref, $hash_ref, $file_name, $mode_flag, $file_mode) = @_;
18 # \$fh and \$db_obj_ref are not used by this routine. Other databases may 18 # \$fh and \$db_obj_ref are not used by this routine. Other databases may

Legend:
Removed from v.258  
changed lines
  Added in v.259

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9