From e026e1af877840198b91aa6c0c6325527bc8b1ed Mon Sep 17 00:00:00 2001 From: dms Date: Sun, 10 Sep 2000 14:40:31 +0000 Subject: [PATCH] was opening sql debug file for read, not write. typo git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@84 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/logger.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blootbot/src/logger.pl b/blootbot/src/logger.pl index dfb64e0..cd94341 100644 --- a/blootbot/src/logger.pl +++ b/blootbot/src/logger.pl @@ -315,7 +315,7 @@ sub status { } sub openSQLDebug { - if (!open(SQLDEBUG, $param{'SQLDebug'})) { + if (!open(SQLDEBUG, ">>$param{'SQLDebug'}")) { &ERROR("cannot open $param{'SQLDebug'}..."); delete $param{'SQLDebug'}; return 0; -- 2.39.5