Package: dbconfig-common
Version: 1.8.29

I am trying to maintain a package that requires dbconfig-common. I originally found this bug on ubuntu's Edgy Eft, but found that this is a bug that would affect Debian as well, I think due to varying mysql versions. I've included a patch that takes the _dbc_nodb variable in dbc_mysql_exec_file and makes sure it's honored. Without this patch, l_dbname is defined before entering this function, which causes the mysql command to require the database in l_dbname.

--- internal/mysql.orig 2007-01-08 15:53:55.000000000 -0700
+++ internal/mysql      2007-01-08 15:54:13.000000000 -0700
@@ -71,7 +71,8 @@
                dbc_log="no file supplied to execute"
                return 1
        fi
-
+
+       l_dbname=
        if [ ! "$_dbc_nodb" ]; then
                l_dbname="$dbc_dbname"
        fi


Adam Lebsack
Software Engineer
Ruffdogs, Inc.
[EMAIL PROTECTED]
970-484-5390





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to