mariadb/debian
Sergey Vojtovich b80cc31ab4 MDEV-9082 - Debian: mysql_install_db is called on upgrade
A comment in debian/mariadb-server-10.1.postinst says: "can safely run on
upgrades with existing databases". While this is true there're a few reasons not
to do that:
- it increases installation time (it has to run rather heavy mysqld multiple times)
- as well as it increases mysqld downtime
- it may fail if database has some plugin specific configs (see MDEV-8437)
- there should be no need to run this script on upgrade: they should be handled
  by mysql_upgrade to
- RPM postin doesn't call it if database directory exists

Also postinst is not supposed to create database directories: let
mysql_install_db do that intead.
2015-11-06 12:11:06 +04:00
..
additions MDEV-8991: bind-address appears twice in default my.cnf 2015-10-30 12:10:54 -04:00
patches MDEV-5749 Please add a .pc file to MariaDB for easy use via pkg-config 2014-10-11 18:53:06 +02:00
po CRLF->LF 2015-06-02 22:07:47 +02:00
apparmor-profile Remove debian/dist/* and have just one version 2015-07-21 23:21:50 +03:00
autobake-deb.sh Make autobake-deb.sh to omit .git directory from source tar.gz 2015-07-22 13:45:43 +03:00
changelog set version to 10.1.0 2014-05-25 17:17:50 +02:00
compat Initial draft for building .deb packages for MariaDB 5.5. 2012-01-23 12:20:16 +01:00
control MDEV-427/MDEV-5713 Add systemd script with notify functionality 2015-10-12 17:51:49 +02:00
copyright debian/*: wrap and sort for cleaner diffs 2015-07-21 23:24:05 +03:00
libmariadbclient-dev.dirs Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
libmariadbclient-dev.examples Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
libmariadbclient-dev.files MDEV-5749 Please add a .pc file to MariaDB for easy use via pkg-config 2014-10-11 18:53:06 +02:00
libmariadbclient-dev.links Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
libmariadbclient-dev.README.Maintainer Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
libmariadbclient18.dirs Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
libmariadbclient18.files Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
libmariadbclient18.postinst Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
libmariadbd-dev.files Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
mariadb-client-10.1.dirs set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-client-10.1.docs set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-client-10.1.files Remove files from debian/* that are unrelevant for this upstream repo 2015-07-22 11:29:21 +03:00
mariadb-client-10.1.links Merge branch '10.0' into 10.1 2014-06-13 16:10:25 +02:00
mariadb-client-10.1.menu set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-client-10.1.README.Debian set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-client-core-10.1.files set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-common.files Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
mariadb-common.postrm Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
mariadb-connect-engine-10.1.files set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-cracklib-password-check-10.1.files MDEV-7305 Difficulties building cracklib_password_check 2015-02-17 23:49:56 +01:00
mariadb-oqgraph-engine-10.1.files set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-server-10.1.config set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-server-10.1.dirs Remove debian/dist/* and have just one version 2015-07-21 23:21:50 +03:00
mariadb-server-10.1.files.in MDEV-427/MDEV-5713 Add systemd script with notify functionality 2015-10-12 17:51:49 +02:00
mariadb-server-10.1.logcheck.ignore.paranoid set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-server-10.1.logcheck.ignore.server set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-server-10.1.logcheck.ignore.workstation set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-server-10.1.mysql-server.logrotate set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-server-10.1.mysql.init MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
mariadb-server-10.1.postinst MDEV-9082 - Debian: mysql_install_db is called on upgrade 2015-11-06 12:11:06 +04:00
mariadb-server-10.1.postrm Remove debian/dist/* and have just one version 2015-07-21 23:21:50 +03:00
mariadb-server-10.1.preinst MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
mariadb-server-10.1.prerm set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-server-10.1.py Remove debian/dist/* and have just one version 2015-07-21 23:21:50 +03:00
mariadb-server-10.1.README.Debian Remove files from debian/* that are unrelevant for this upstream repo 2015-07-22 11:29:21 +03:00
mariadb-server-10.1.templates MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
mariadb-server-core-10.1.files set version to 10.1.0 2014-05-25 17:17:50 +02:00
mariadb-test-10.1.dirs MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
mariadb-test-10.1.files add encryption plugins to deb packages 2015-04-10 18:01:53 +02:00
mariadb-test-10.1.links set version to 10.1.0 2014-05-25 17:17:50 +02:00
mysql-common.dirs Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
mysql-common.files Remove files from debian/* that are unrelevant for this upstream repo 2015-07-22 11:29:21 +03:00
mysql-common.postrm Modified debian scripts to make galera packages 2014-03-14 17:52:55 -04:00
rules MDEV-427/MDEV-5713 Add systemd script with notify functionality 2015-10-12 17:51:49 +02:00