diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-12-11 11:38:30 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-12-12 20:19:56 +0100 |
commit | 541500295abdba7fa619065069291ac9c1dd6e83 (patch) | |
tree | 2aeaab5ce17f5ab38436b18a8d5a56bf5de77100 /debian/additions | |
parent | f77f8f6d1a5f4846766a8aab00a9e1e5f41909a1 (diff) | |
download | mariadb-git-541500295abdba7fa619065069291ac9c1dd6e83.tar.gz |
debian install/upgrade fixes
1. don't run full mysql_upgrade on every server restart,
use --version-check to do it only once
2. fix syslog tag name in the postinst script, don't pretend
mysqld_safe generated all these messages. Auto-detect the version
to simplify maintenance
Diffstat (limited to 'debian/additions')
-rw-r--r-- | debian/additions/debian-start | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/additions/debian-start b/debian/additions/debian-start index 9fd0030d0ec..ff741b86f79 100644 --- a/debian/additions/debian-start +++ b/debian/additions/debian-start @@ -9,7 +9,7 @@ source /usr/share/mysql/debian-start.inc.sh MYSQL="/usr/bin/mysql --defaults-file=/etc/mysql/debian.cnf" MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf" -MYUPGRADE="/usr/bin/mysql_upgrade --defaults-extra-file=/etc/mysql/debian.cnf" +MYUPGRADE="/usr/bin/mysql_upgrade --defaults-extra-file=/etc/mysql/debian.cnf --version-check" MYCHECK="/usr/bin/mysqlcheck --defaults-file=/etc/mysql/debian.cnf" MYCHECK_SUBJECT="WARNING: mysqlcheck has found corrupt tables" MYCHECK_PARAMS="--all-databases --fast --silent" |