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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
82558738
Commit
82558738
authored
Oct 23, 2001
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
parents
1de2935a
a39026f7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
584 additions
and
749 deletions
+584
-749
Docs/manual.texi
Docs/manual.texi
+540
-738
myisam/Makefile.am
myisam/Makefile.am
+3
-3
scripts/mysqld_safe.sh
scripts/mysqld_safe.sh
+41
-8
No files found.
Docs/manual.texi
View file @
82558738
This diff is collapsed.
Click to expand it.
myisam/Makefile.am
View file @
82558738
...
...
@@ -30,9 +30,9 @@ noinst_HEADERS = myisamdef.h fulltext.h ftdefs.h ft_test1.h ft_eval.h
mi_test1_DEPENDENCIES
=
$(LIBRARIES)
mi_test2_DEPENDENCIES
=
$(LIBRARIES)
mi_test3_DEPENDENCIES
=
$(LIBRARIES)
ft_test1_DEPENDENCIES
=
$(LIBRARIES)
ft_eval_DEPENDENCIES
=
$(LIBRARIES)
ft_dump_DEPENDENCIES
=
$(LIBRARIES)
#
ft_test1_DEPENDENCIES= $(LIBRARIES)
#
ft_eval_DEPENDENCIES= $(LIBRARIES)
#
ft_dump_DEPENDENCIES= $(LIBRARIES)
libmyisam_a_SOURCES
=
mi_open.c mi_extra.c mi_info.c mi_rkey.c
\
mi_rnext.c mi_rnext_same.c
\
mi_search.c mi_page.c mi_key.c mi_locking.c
\
...
...
scripts/mysqld_safe.sh
View file @
82558738
...
...
@@ -159,15 +159,48 @@ export MYSQL_TCP_PORT
NOHUP_NICENESS
=
"nohup"
if
test
-w
/
# Using nice with no args to get the niceness level is GNU-specific.
# This check could be extended for other operating systems (e.g.,
# BSD could use "nohup sh -c 'ps -o nice -p $$' | tail -1").
# But, it also seems that GNU nohup is the only one which messes
# with the priority, so this is okay.
if
nohup nice
>
/dev/null 2>&1
then
NOHUP_NICENESS
=
`
nohup nice
2>&1
`
if
test
$?
-eq
0
&&
test
x
"
$NOHUP_NICENESS
"
!=
x0
&&
nice
--1
echo
foo
>
/dev/null 2>&1
then
NOHUP_NICENESS
=
"nice --
$NOHUP_NICENESS
nohup"
else
NOHUP_NICENESS
=
"nohup"
fi
normal_niceness
=
`
nice
`
nohup_niceness
=
`
nohup nice
`
numeric_nice_values
=
1
for
val
in
$normal_niceness
$nohup_niceness
do
case
"
$val
"
in
-[0-9]
|
-[0-9][0-9]
|
-[0-9][0-9][0-9]
|
\
[
0-9]
|
[
0-9][0-9]
|
[
0-9][0-9][0-9]
)
;;
*
)
numeric_nice_values
=
0
;;
esac
done
if
test
$numeric_nice_values
-eq
1
then
nice_value_diff
=
`
expr
$nohup_niceness
-
$normal_niceness
`
if
test
$?
-eq
0
&&
test
$nice_value_diff
-gt
0
&&
\
nice
--
$nice_value_diff
echo
testing
>
/dev/null 2>&1
then
# nohup increases the priority (bad), and we are permitted
# to lower the priority
NOHUP_NICENESS
=
"nice --
$nice_value_diff
nohup"
fi
fi
else
if
nohup echo
testing
>
/dev/null 2>&1
then
:
else
# nohup doesn't work on this system
NOHUP_NICENESS
=
""
fi
fi
USER_OPTION
=
""
...
...
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