[pkg-bacula-commits] [bacula] 02/03: patch remove-use-statement-in-make-mysql-tables no longer needed superseded by enhanced scripts

Carsten Leonhardt leo at moszumanska.debian.org
Fri Jul 15 15:41:25 UTC 2016


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

leo pushed a commit to branch master
in repository bacula.

commit 738067de92ed19867a532b92f64b0bc6436ef9f2
Author: Carsten Leonhardt <leo at debian.org>
Date:   Fri Jul 15 11:39:38 2016 +0200

    patch remove-use-statement-in-make-mysql-tables no longer needed
    superseded by enhanced scripts
---
 .../remove-use-statement-in-make-mysql-tables      | 22 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 23 deletions(-)

diff --git a/debian/patches/remove-use-statement-in-make-mysql-tables b/debian/patches/remove-use-statement-in-make-mysql-tables
deleted file mode 100644
index dfa3c71..0000000
--- a/debian/patches/remove-use-statement-in-make-mysql-tables
+++ /dev/null
@@ -1,22 +0,0 @@
-Description: Fix MySQL database creation via dbconfig-common
- dbconfig-common uses its own scheme for telling MySQL which database
- name is to be used, so we switch from using "USE" to passing -D to
- the call to mysql. This way the USE statement does not end up in the
- data for dbconfig-common.
- This fix is specific to Debian packaging and could also be solved by
- improving/replacing debian/scripts/install-dbconfig
-Author: Carsten Leonhardt <leo at debian.org>
-Bug-Debian: 830999
-Last-Update: 2016-07-14
---- a/src/cats/make_mysql_tables.in
-+++ b/src/cats/make_mysql_tables.in
-@@ -13,8 +13,7 @@
- PATH="$bindir:$PATH"
- db_name=${db_name:- at db_name@}
- 
--if mysql $* -f <<END-OF-DATA
--USE ${db_name};
-+if mysql -D ${db_name} $* -f <<END-OF-DATA
- --
- -- Note, we use BLOB rather than TEXT because in MySQL,
- --  BLOBs are identical to TEXT except that BLOB is case
diff --git a/debian/patches/series b/debian/patches/series
index 7cac875..fda1104 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,4 +7,3 @@ remove-upstream-autoconf-log.patch
 fix-libbaccats-rpath.patch
 fix-scriptdir-examples-devices.patch
 enable-hardening-for-bat.patch
-remove-use-statement-in-make-mysql-tables

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bacula/bacula.git



More information about the pkg-bacula-commits mailing list