mariadb/support-files
Joerg Bruehe 106e590086 Fix Bug #56581 RPM scripts use hardcoded datadir location
When fixing the 27072 bug, the shell snippets running before/after
a RPM upgrade got expanded to look at files in the data directory
and at the PID file.
In this expansion, the standard locations were used.

There are users who configure their installations to use non-standard
locations for the data directory, the PID file, and other objects.
For these users, the fix of 27072 did not work.
As a result, the fact that a server was running at upgrade start was
not noticed, and the new server was not started after the upgrade.

With this patch, the shell snippets now try to get these locations
from "my_print_defaults" before falling back to the defaults.
Now, the fact that the old server is running is again noticed (even
with non-standard locations), and the new server is started.

Also, the upgrade log is written to the correct data directory.

support-files/mysql.spec.sh:
  See the global comment for the purpose of this change.
  
  In tests on SuSE 11, it was found necessary to use the full path name
  of "my_print_defaults", it seems $PATH die not include "/usr/bin".
2011-02-03 18:16:22 +01:00
..
MacOSX Merge 2010-12-29 00:47:05 +01:00
RHEL4-SElinux - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
binary-configure.sh bug#30954: "configure" script in binary distributions considered harmfull 2009-09-28 15:14:33 +01:00
build-tags fixed the build-tags command 2009-06-12 17:06:59 +03:00
compiler_warnings.supp Merge 2010-12-29 00:47:05 +01:00
config.huge.ini.sh config.medium.ini.sh, config.small.ini.sh, config.huge.ini.sh: 2008-01-23 20:45:46 +01:00
config.medium.ini.sh config.medium.ini.sh, config.small.ini.sh, config.huge.ini.sh: 2008-01-23 20:45:46 +01:00
config.small.ini.sh config.medium.ini.sh, config.small.ini.sh, config.huge.ini.sh: 2008-01-23 20:45:46 +01:00
magic sql/log.cc 2000-10-05 17:58:16 -06:00
Makefile.am Merge 2010-12-29 00:47:05 +01:00
my-huge.cnf.sh Bug #50021: Windows standard configuration files are showing Linux 2010-11-18 18:02:37 +02:00
my-innodb-heavy-4G.cnf.sh Bug #50021: Windows standard configuration files are showing Linux 2010-11-18 18:02:37 +02:00
my-large.cnf.sh Bug #50021: Windows standard configuration files are showing Linux 2010-11-18 18:02:37 +02:00
my-medium.cnf.sh Bug #50021: Windows standard configuration files are showing Linux 2010-11-18 18:02:37 +02:00
my-small.cnf.sh Bug #50021: Windows standard configuration files are showing Linux 2010-11-18 18:02:37 +02:00
mysql-log-rotate.sh - small improvement for the logrotate config file (patch found in the SUSE 2005-01-18 17:35:32 +01:00
mysql-multi.server.sh Changed safe_mysqld -> mysqld_safe 2001-06-28 10:49:16 +03:00
MySQL-shared-compat.spec.sh support-files/MySQL-shared-compat.spec.sh : Dummy, irrelevant change - just trigger a new build. 2007-01-10 00:36:41 +01:00
mysql.m4 /usr/share/aclocal/mysql.m4 2007-02-14 12:42:11 +01:00
mysql.server-sys5.sh Small bug fixes 2000-09-07 04:55:17 +03:00
mysql.server.sh merge patch for bug#31785 2009-07-02 15:18:12 +02:00
mysql.spec.sh Fix Bug #56581 RPM scripts use hardcoded datadir location 2011-02-03 18:16:22 +01:00
mysqld_multi.server.sh Bug #25486: mysqld_multi.server.sh missing from builds 2008-03-10 03:25:54 -06:00
ndb-config-2-node.ini.sh made an .sh file of ndb-config-2-node.ini instead 2005-02-03 17:58:02 +01:00