From: Lionel B. <lio...@bo...> - 2013-09-18 12:27:21
|
-------- Message original -------- Sujet: sqlgrey problems Date : Wed, 18 Sep 2013 11:58:03 +0000 De : Макаренко Андрей Борисович <mak...@al...> Pour : lio...@bo... <lio...@bo...> Hi! I found a bad call of the mylog module (). In version 1.8.0 sqlgrey. See program report: ----------------------------- Sep 18 14:48:57 relay4 sqlgrey: warning: Use of uninitialized value $DBI::errstr in concatenation (.) or string at /usr/local/sbin/sqlgrey line 246. ----------------------------- I looked at a line 246 and saw a call of the subprogramme of mylog () with 3 arguments instead of necessary 4. ----------------------------- # joe /usr/local/sbin/sqlgrey 42 my $VERSION = "1.8.0"; 130 sub mylog($$$$) { my ($self, $logtype, $loglevel, $message) = @_; 246 $self->mylog('dbaccess', 0, "warning: couldn't do query:\n" . "$query:\n" . "$DBI::errstr, reconnecting to DB"); With the best regards Andrey Mak. |