summaryrefslogtreecommitdiff
path: root/databases/percona56-server/files/patch-scripts_mysqld_safe.sh
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2013-03-18 21:18:03 +0000
committerFlorian Smeets <flo@FreeBSD.org>2013-03-18 21:18:03 +0000
commitb3098a74ff511e4a0d888651d13012cd028253c5 (patch)
treea8be09d9019ee84fee17b8bbeb802a846eb70c4d /databases/percona56-server/files/patch-scripts_mysqld_safe.sh
parentRemove non-existent WWW (diff)
Add the 5.6 branch of Percona-Server.
While MySQL 5.6.10 is considered GA, Percona still considers Percona-Server 5.6.10 alpha software.
Notes
Notes: svn path=/head/; revision=314602
Diffstat (limited to 'databases/percona56-server/files/patch-scripts_mysqld_safe.sh')
-rw-r--r--databases/percona56-server/files/patch-scripts_mysqld_safe.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/percona56-server/files/patch-scripts_mysqld_safe.sh b/databases/percona56-server/files/patch-scripts_mysqld_safe.sh
new file mode 100644
index 000000000000..2a30469922f0
--- /dev/null
+++ b/databases/percona56-server/files/patch-scripts_mysqld_safe.sh
@@ -0,0 +1,24 @@
+--- scripts/mysqld_safe.sh.orig 2007-10-08 10:39:23.000000000 +0200
++++ scripts/mysqld_safe.sh 2007-10-08 10:40:52.000000000 +0200
+@@ -242,10 +242,10 @@
+
+ if test -z "$MYSQL_HOME"
+ then
+- if test -r "$MY_BASEDIR_VERSION/my.cnf" && test -r "$DATADIR/my.cnf"
++ if test -r "$MY_BASEDIR_VERSION/etc/my.cnf" && test -r "$DATADIR/my.cnf"
+ then
+ log_error "WARNING: Found two instances of my.cnf -
+-$MY_BASEDIR_VERSION/my.cnf and
++$MY_BASEDIR_VERSION/etc/my.cnf and
+ $DATADIR/my.cnf
+ IGNORING $DATADIR/my.cnf"
+
+@@ -254,7 +254,7 @@
+ then
+ log_error "WARNING: Found $DATADIR/my.cnf
+ The data directory is a deprecated location for my.cnf, please move it to
+-$MY_BASEDIR_VERSION/my.cnf"
++$MY_BASEDIR_VERSION/etc/my.cnf"
+ MYSQL_HOME=$DATADIR
+ else
+ MYSQL_HOME=$MY_BASEDIR_VERSION