This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch ntyni/autopkgtest
in repository libdbd-mysql-perl.

commit 814db667e48082cc75bf431f87dbc4a12051df67
Author: gregor herrmann <gre...@debian.org>
Date:   Fri Oct 7 14:05:10 2016 +0200

    debian/tests/pkg-perl/smoke-setup: add "IF NOT EXISTS" to "CREATE DATABASE"
    
    seems like mysql already has a test database (mariadb doesn't)
    
    Gbp-Dch: Ignore
---
 debian/tests/pkg-perl/smoke-setup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/tests/pkg-perl/smoke-setup 
b/debian/tests/pkg-perl/smoke-setup
index 7d083f4..ffe7f09 100755
--- a/debian/tests/pkg-perl/smoke-setup
+++ b/debian/tests/pkg-perl/smoke-setup
@@ -15,7 +15,7 @@ while ! /usr/bin/mysqladmin --socket=${MYSQL_UNIX_PORT} ping 
2>&1 ; do
                exit 1
        fi
 done
-mysql --socket=${MYSQL_UNIX_PORT} --execute "CREATE DATABASE ${MYSQL_DBNAME};" 
2>&1
+mysql --socket=${MYSQL_UNIX_PORT} --execute "CREATE DATABASE IF NOT EXISTS 
${MYSQL_DBNAME};" 2>&1
 
 # fails because mysqld is started with --skip-grant-tables
 # (without there's only a passwordless unix-sockety root account

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdbd-mysql-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to