diff options
author | Yorhel <git@yorhel.nl> | 2009-08-05 16:25:52 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-08-05 16:30:21 +0200 |
commit | d0804fb02a8a4d0656fe7255ab6ab8b06aee03c7 (patch) | |
tree | 63650d17ac2f86725f665207d25947cae7a0e827 /lib | |
parent | a896629e270c0b10d5005f33654cf05852577c18 (diff) |
Multi::Core: Got rid of 'undefined' warning in pg_error + ChangeLog update
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Multi/Core.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/Core.pm b/lib/Multi/Core.pm index c95947fb..c40be430 100644 --- a/lib/Multi/Core.pm +++ b/lib/Multi/Core.pm @@ -70,7 +70,7 @@ sub log { # level, msg sub pg_error { # ARG: command, errmsg, [ query, params, orig_session, event-args ] my $s = $_[ARG2] ? sprintf ' (Session: %s, Query: "%s", Params: %s, Args: %s)', join(', ', $_[KERNEL]->alias_list($_[ARG4])), $_[ARG2], - join(', ', $_[ARG3] ? map qq|"$_"|, @{$_[ARG3]} : '[none]'), $_[ARG5] : ''; + join(', ', $_[ARG3] ? map qq|"$_"|, @{$_[ARG3]} : '[none]'), $_[ARG5]||'' : ''; $_[KERNEL]->call(core => log => 'SQL Error for command %s: %s %s', $_[ARG0], $_[ARG1], $s); } |