Ignore:
Timestamp:
2018-10-31T19:48:18+13:00 (5 years ago)
Author:
ak19
Message:

Removing db_encoding as parameters to GreenstoneSQLPlugout and GreenstoneSQLPlugin: as doc.xml is always in utf8, the same contents stored in the MySQL db should be too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugouts/GreenstoneSQLPlugout.pm

    r32555 r32559  
    9494      'type' => "string",
    9595      'deft' => "127.0.0.1",
    96       'reqd' => "yes"},
    97     { 'name' => "db_encoding",
    98       'desc' => "{GreenstoneSQLPlug.db_encoding}",
    99     'type' => "string",
    100       'deft' => "utf8",
    10196      'reqd' => "yes"}
    10297    ];
     
    136131    #print STDERR "@@@@ user: " . $self->{'db_client_user'} . "\n";
    137132    #print STDERR "@@@@ db_host: " . $self->{'db_host'} . "\n";
    138     #print STDERR "@@@@ db_enc: " . $self->{'db_encoding'} . "\n";
    139133    #print STDERR "@@@@ db_driver: " . $self->{'db_driver'} . "\n";
    140134    #print STDERR "@@@@ proc_mode: " . $self->{'process_mode'} . "\n";
     
    147141
    148142    my $db_params = {
    149     'collection_name' => $ENV{'GSDLCOLLECTION'},   
    150     'db_encoding' => $self->{'db_encoding'}
     143    'collection_name' => $ENV{'GSDLCOLLECTION'}
    151144    };
    152145
Note: See TracChangeset for help on using the changeset viewer.