File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ DBI::Changes - List of significant changes to the DBI
12
12
drivers are expected to set it true as needed.
13
13
Fixed DBI::DBD::SqlEngine to complain loudly when prerequite
14
14
driver_prefix is not fulfilled (RT#93204) [Jens Rehsack]
15
+ Fixed redundant sprintf argument warning RT#97062 [Reini Urban]
15
16
16
17
=head2 Changes in DBI 1.631 - 20th Jan 2014
17
18
Original file line number Diff line number Diff line change @@ -831,11 +831,11 @@ sub as_text {
831
831
for (@path ) {
832
832
s / [\r\n ]+/ / g ;
833
833
s / $separator_re/ / g ;
834
+ ++$idx ;
834
835
if ($format_path_element eq " %s " ) {
835
836
$_ = sprintf $format_path_element , $_ ;
836
- ++$idx ;
837
837
} else {
838
- $_ = sprintf $format_path_element , $_ , ++ $idx ;
838
+ $_ = sprintf $format_path_element , $_ , $idx ;
839
839
}
840
840
}
841
841
push @text , sprintf $format ,
You can’t perform that action at this time.
0 commit comments