projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2338103
)
DBUtils: Query loggen: Dateinamen des Aufrufers richtig ermitteln
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 23 Sep 2020 08:48:48 +0000
(10:48 +0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 23 Sep 2020 09:31:40 +0000
(11:31 +0200)
SL/DBUtils.pm
patch
|
blob
|
history
diff --git
a/SL/DBUtils.pm
b/SL/DBUtils.pm
index
d638f89
..
9d1bcac
100644
(file)
--- a/
SL/DBUtils.pm
+++ b/
SL/DBUtils.pm
@@
-92,7
+92,7
@@
sub dump_query {
my $self_filename = 'SL/DBUtils.pm';
my $filename = $self_filename;
my ($caller_level, $line, $subroutine);
- while ($filename
eq $self_filename
) {
+ while ($filename
=~ m{$self_filename$}
) {
(undef, $filename, $line, $subroutine) = caller $caller_level++;
}