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
ce37b7aa
Commit
ce37b7aa
authored
Jan 28, 2003
by
miguel@hegel.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use on Unix hostname.err only when --log-error=path.
Asked by Heikki and Peter.
parent
9199252c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sql/mysqld.cc
sql/mysqld.cc
+2
-0
No files found.
sql/mysqld.cc
View file @
ce37b7aa
...
@@ -2214,6 +2214,7 @@ int main(int argc, char **argv)
...
@@ -2214,6 +2214,7 @@ int main(int argc, char **argv)
{
{
if
(
log_error_file_ptr
!=
log_error_file
)
if
(
log_error_file_ptr
!=
log_error_file
)
strmake
(
log_error_file
,
log_error_file_ptr
,
sizeof
(
log_error_file
));
strmake
(
log_error_file
,
log_error_file_ptr
,
sizeof
(
log_error_file
));
#ifdef __WIN__
else
else
{
{
char
*
end
;
char
*
end
;
...
@@ -2224,6 +2225,7 @@ int main(int argc, char **argv)
...
@@ -2224,6 +2225,7 @@ int main(int argc, char **argv)
*
strxnmov
(
end
,
sizeof
(
log_error_file
)
-
length
-
1
,
*
strxnmov
(
end
,
sizeof
(
log_error_file
)
-
length
-
1
,
glob_hostname
,
".err"
,
NullS
)
=
0
;
glob_hostname
,
".err"
,
NullS
)
=
0
;
}
}
#endif
if
(
log_error_file
[
0
]
!=
0
)
if
(
log_error_file
[
0
]
!=
0
)
if
(
freopen
(
log_error_file
,
"a+"
,
stdout
))
if
(
freopen
(
log_error_file
,
"a+"
,
stdout
))
freopen
(
log_error_file
,
"a+"
,
stderr
);
freopen
(
log_error_file
,
"a+"
,
stderr
);
...
...
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