mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Added connect_timeout and fix for transactions per statement
This commit is contained in:
@@ -83,6 +83,11 @@ case "$mode" in
|
||||
# be overwritten at next upgrade.
|
||||
$bindir/safe_mysqld \
|
||||
--datadir=$datadir --pid-file=$pid_file &
|
||||
# Make lock for RedHat / SuSE
|
||||
if test -d /var/lock/subsys
|
||||
then
|
||||
touch /var/lock/subsys/mysql
|
||||
fi
|
||||
else
|
||||
echo "Can't execute $bindir/safe_mysqld"
|
||||
fi
|
||||
@@ -109,6 +114,11 @@ case "$mode" in
|
||||
elif [ -n "$flags" ]
|
||||
then echo " done"
|
||||
fi
|
||||
# delete lock for RedHat / SuSE
|
||||
if test -d /var/lock/subsys
|
||||
then
|
||||
rm /var/lock/subsys/mysql
|
||||
fi
|
||||
else
|
||||
echo "No mysqld pid file found. Looked for $pid_file."
|
||||
fi
|
||||
|
Reference in New Issue
Block a user