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
d4b3d364
Commit
d4b3d364
authored
May 05, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/gluh/MySQL/Devel/mysql-4.1
parents
c758512a
8b5b75ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
sql/mysqld.cc
sql/mysqld.cc
+7
-1
No files found.
sql/mysqld.cc
View file @
d4b3d364
...
...
@@ -6749,9 +6749,15 @@ static void create_pid_file()
char
buff
[
21
],
*
end
;
end
=
int10_to_str
((
long
)
getpid
(),
buff
,
10
);
*
end
++=
'\n'
;
(
void
)
my_write
(
file
,
(
byte
*
)
buff
,
(
uint
)
(
end
-
buff
),
MYF
(
MY_WME
));
if
(
!
my_write
(
file
,
(
byte
*
)
buff
,
(
uint
)
(
end
-
buff
),
MYF
(
MY_WME
|
MY_NABP
)))
{
(
void
)
my_close
(
file
,
MYF
(
0
));
return
;
}
(
void
)
my_close
(
file
,
MYF
(
0
));
}
sql_perror
(
"Can't start server: can't create PID file"
);
exit
(
1
);
}
...
...
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