Skip to content

Commit

Permalink
Fix name of backed-up original function in DBI integration
Browse files Browse the repository at this point in the history
Closes #17.
  • Loading branch information
jjatria committed Jun 3, 2024
1 parent 998c116 commit c459e90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ Revision history for OpenTelemetry

{{$NEXT}}

* Fixed an issue with experimental cleanup where "DBI::db::execute"
was replaced with "DBI::db::do" by mistake (GH #17)

0.022 2024-05-12 20:08:13+01:00 Europe/London

* Fixed a minor rendering issue in the documentation of the HTTP
Expand Down
2 changes: 1 addition & 1 deletion lib/OpenTelemetry/Integration/DBI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ sub install ( $class, %options ) {
goto $wrapper;
};

$DO = \&DBI::st::execute;
$DO = \&DBI::st::do;
install_modifier 'DBI::db' => around => do => sub {
my ( undef, $dbh, $sql ) = @_;
unshift @_, $dbh, $sql;
Expand Down

0 comments on commit c459e90

Please sign in to comment.