summaryrefslogtreecommitdiff
path: root/support-files/debian/patches/ae
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-07-20 16:32:13 -0600
committerunknown <sasha@mysql.sashanet.com>2001-07-20 16:32:13 -0600
commitb282f4290578f0e8e387fcebcd1641337d2601eb (patch)
treeb696a6c57f5d204281f851c340f80976b08bb6f7 /support-files/debian/patches/ae
parente642692a5d25d7771ecab767be9fb8b369d077da (diff)
parentb588c6064638bd9245871cd840695854c1454e8b (diff)
downloadmariadb-git-b282f4290578f0e8e387fcebcd1641337d2601eb.tar.gz
merged
configure.in: Auto merged myisam/mi_check.c: Auto merged myisam/myisamchk.c: Auto merged mysql-test/t/rpl_sporadic_master.test: Auto merged sql/Makefile.am: Auto merged sql/mysqld.cc: Auto merged sql/slave.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_delete.cc: Auto merged sql/sql_show.cc: Auto merged sql/sql_update.cc: Auto merged
Diffstat (limited to 'support-files/debian/patches/ae')
-rw-r--r--support-files/debian/patches/ae48
1 files changed, 21 insertions, 27 deletions
diff --git a/support-files/debian/patches/ae b/support-files/debian/patches/ae
index d6ccdcfaaf0..7ea5733147f 100644
--- a/support-files/debian/patches/ae
+++ b/support-files/debian/patches/ae
@@ -1,25 +1,17 @@
---- mysql-3.23.23.orig/support-files/mysql.server.sh Tue Sep 5 19:13:35 2000
-+++ mysql-3.23.23/support-files/mysql.server.sh Tue Sep 5 19:19:40 2000
-@@ -16,6 +16,7 @@
- PATH=/sbin:/usr/sbin:/bin:/usr/bin
- basedir=@prefix@
- bindir=@bindir@
-+sbindir=@sbindir@
- datadir=@localstatedir@
- pid_file=@localstatedir@/mysqld.pid
- log_file=@localstatedir@/mysqld.log
-@@ -64,6 +65,10 @@
- then
- bindir=`grep "^bindir" $conf | cut -f 2 -d= | tr -d ' '`
- fi
-+ if grep "^sbindir" $conf >/dev/null
-+ then
-+ sbindir=`grep "^sbindir" $conf | cut -f 2 -d= | tr -d ' '`
-+ fi
- if grep "^log[ \t]*=" $conf >/dev/null
- then
- log_file=`grep "log[ \t]*=" $conf | cut -f 2 -d= | tr -d ' '`
-@@ -78,14 +83,15 @@
+--- mysql-3.23.30-gamma/support-files/mysql.server.sh.orig Thu Jan 4 11:03:57 2001
++++ mysql-3.23.30-gamma/support-files/mysql.server.sh Sat Jan 6 12:18:50 2001
+@@ -28,8 +28,10 @@
+ then
+ basedir=@prefix@
+ bindir=@bindir@
++ sbindir=@sbindir@
+ else
+ bindir="$basedir/bin"
++ sbindir="$basedir/sbin"
+ fi
+ if test -z "$pid_file"
+ then
+@@ -100,18 +102,18 @@
'start')
# Start daemon
@@ -28,11 +20,13 @@
then
# Give extra arguments to mysqld with the my.cnf file. This script may
# be overwritten at next upgrade.
-- $bindir/safe_mysqld \
-- --user=$mysql_daemon_user --datadir=$datadir --pid-file=$pid_file --log=$log_file &
-+ $sbindir/safe_mysqld \
-+ --user=$mysql_daemon_user --datadir=$datadir --pid-file=$pid_file &
-+# --log=$log_file &
+- $bindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file &
++ $sbindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file &
+ # Make lock for RedHat / SuSE
+ if test -w /var/lock/subsys
+ then
+ touch /var/lock/subsys/mysql
+ fi
else
- echo "Can't execute $bindir/safe_mysqld"
+ echo "Can't execute $sbindir/safe_mysqld"