Unverified Commit 07ed7fab authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #936 from ikedas/typos-in-update_db by ikedas

Typos in set_index() of some DatabaseDriver classes.
parents 523df701 7bde5955
...@@ -459,7 +459,8 @@ sub set_index { ...@@ -459,7 +459,8 @@ sub set_index {
); );
return undef; return undef;
} }
my $report = "Table $param->{'table'}, index %s set using $fields"; my $report = sprintf 'Table %s, index %s set using fields %s',
$param->{'table'}, $param->{'index_name'}, $fields;
$log->syslog('info', 'Table %s, index %s set using fields %s', $log->syslog('info', 'Table %s, index %s set using fields %s',
$param->{'table'}, $param->{'index_name'}, $fields); $param->{'table'}, $param->{'index_name'}, $fields);
return $report; return $report;
......
...@@ -623,7 +623,8 @@ sub set_index { ...@@ -623,7 +623,8 @@ sub set_index {
); );
return undef; return undef;
} }
my $report = "Table $param->{'table'}, index %s set using $fields"; my $report = sprintf 'Table %s, index %s set using fields %s',
$param->{'table'}, $param->{'index_name'}, $fields;
$log->syslog('info', 'Table %s, index %s set using fields %s', $log->syslog('info', 'Table %s, index %s set using fields %s',
$param->{'table'}, $param->{'index_name'}, $fields); $param->{'table'}, $param->{'index_name'}, $fields);
return $report; return $report;
......
...@@ -490,7 +490,8 @@ sub set_index { ...@@ -490,7 +490,8 @@ sub set_index {
); );
return undef; return undef;
} }
my $report = "Table $param->{'table'}, index %s set using $fields"; my $report = sprintf 'Table %s, index %s set using fields %s',
$param->{'table'}, $param->{'index_name'}, $fields;
$log->syslog('info', 'Table %s, index %s set using fields %s', $log->syslog('info', 'Table %s, index %s set using fields %s',
$param->{'table'}, $param->{'index_name'}, $fields); $param->{'table'}, $param->{'index_name'}, $fields);
return $report; return $report;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment