Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
578fee69
Commit
578fee69
authored
Jun 27, 2006
by
iggy@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#19298 mysqld_safe still uses obsolete --skip-locking parameter
parent
748b287c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
configure.in
configure.in
+4
-4
scripts/mysqld_safe-watch.sh
scripts/mysqld_safe-watch.sh
+2
-2
No files found.
configure.in
View file @
578fee69
...
@@ -441,18 +441,18 @@ fi
...
@@ -441,18 +441,18 @@ fi
AC_SUBST
(
LD_VERSION_SCRIPT
)
AC_SUBST
(
LD_VERSION_SCRIPT
)
# Avoid bug in fcntl on some versions of linux
# Avoid bug in fcntl on some versions of linux
AC_MSG_CHECKING
(
"if we should use 'skip-locking' as default for
$target_os
"
)
AC_MSG_CHECKING
(
[
if
we should use
'skip-external-locking'
as default
for
$target_os
]
)
# Any wariation of Linux
# Any wariation of Linux
if
expr
"
$target_os
"
:
"[[Ll]]inux.*"
>
/dev/null
if
expr
"
$target_os
"
:
"[[Ll]]inux.*"
>
/dev/null
then
then
MYSQLD_DEFAULT_SWITCHES
=
"--skip-locking"
MYSQLD_DEFAULT_SWITCHES
=
"--skip-
external-
locking"
TARGET_LINUX
=
"true"
TARGET_LINUX
=
"true"
AC_MSG_RESULT
(
"yes"
)
AC_MSG_RESULT
(
[
yes
]
)
AC_DEFINE
([
TARGET_OS_LINUX],
[
1],
[
Whether we build
for
Linux]
)
AC_DEFINE
([
TARGET_OS_LINUX],
[
1],
[
Whether we build
for
Linux]
)
else
else
MYSQLD_DEFAULT_SWITCHES
=
""
MYSQLD_DEFAULT_SWITCHES
=
""
TARGET_LINUX
=
"false"
TARGET_LINUX
=
"false"
AC_MSG_RESULT
(
"no"
)
AC_MSG_RESULT
(
[
no]
)
fi
fi
AC_SUBST
(
MYSQLD_DEFAULT_SWITCHES
)
AC_SUBST
(
MYSQLD_DEFAULT_SWITCHES
)
AC_SUBST
(
TARGET_LINUX
)
AC_SUBST
(
TARGET_LINUX
)
...
...
scripts/mysqld_safe-watch.sh
View file @
578fee69
...
@@ -93,10 +93,10 @@ do
...
@@ -93,10 +93,10 @@ do
if
test
"$#"
-eq
0
if
test
"$#"
-eq
0
then
then
nohup
$ledir
/mysqld
--basedir
=
$MY_BASEDIR_VERSION
--datadir
=
$DATADIR
\
nohup
$ledir
/mysqld
--basedir
=
$MY_BASEDIR_VERSION
--datadir
=
$DATADIR
\
--skip-locking
>>
$err
2>&1 &
--skip-
external-
locking
>>
$err
2>&1 &
else
else
nohup
$ledir
/mysqld
--basedir
=
$MY_BASEDIR_VERSION
--datadir
=
$DATADIR
\
nohup
$ledir
/mysqld
--basedir
=
$MY_BASEDIR_VERSION
--datadir
=
$DATADIR
\
--skip-locking
"
$@
"
>>
$err
2>&1 &
--skip-
external-
locking
"
$@
"
>>
$err
2>&1 &
fi
fi
pid
=
$!
pid
=
$!
rm
-f
$lockfile
rm
-f
$lockfile
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment