- Timestamp:
- 2018-11-08T18:54:56+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugouts/GreenstoneSQLPlugout.pm
r32584 r32586 41 41 # + TODO: SIGTERM rollback and disconnect? 42 42 # + TODO Q: what about verbosity for debugging, instead of current situation of printing out upon debug set at the expense of writing to db 43 # TODO Q: introduced site_name param to plugins and plugouts. Did I do it right? And should they have hiddengli = "yes"43 #X TODO Q: introduced site param to plugins and plugouts. Did I do it right? And should they have hiddengli = "yes". No longer a param 44 44 # Did I do the pass by ref in docprint's escape and unescape textref functions correctly, and how they're called here? 45 45 # Any more optimisation I can do around this? … … 88 88 'type' => "enum", 89 89 'list' => $rollback_on_cancel_list, 90 'deft' => " true", # TODO Q: what's the better default? If "true", any memory concerns?90 'deft' => "false", # TODO Q: what's the better default? If "true", any memory concerns? 91 91 'reqd' => "no", 92 92 'hiddengli' => "no"}, … … 155 155 156 156 ############ LOAD NECESSARY OPTIONS ########### 157 #print "@@@ plugout SITE NAME: ". $self->{'site _name'} . "\n" if defined $self->{'site_name'};157 #print "@@@ plugout SITE NAME: ". $self->{'site'} . "\n" if defined $self->{'site'}; 158 158 #print STDERR "########## COLLECTION: ". $ENV{'GSDLCOLLECTION'}."\n"; 159 159 … … 189 189 #die("@@@@ TEST. Connected successfully. Testing gssql::destructor.\n"); # WORKS 190 190 191 my $db_name = $self->{'site _name'} || "greenstone2"; # one database per GS3 site, for GS2 the db is called greenstone2191 my $db_name = $self->{'site'} || "greenstone2"; # one database per GS3 site, for GS2 the db is called greenstone2 192 192 my $proc_mode = $self->{'process_mode'}; 193 193
Note:
See TracChangeset
for help on using the changeset viewer.