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
bd52833d
Commit
bd52833d
authored
Dec 08, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
parents
02dab285
a90b40fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
innobase/os/os0file.c
innobase/os/os0file.c
+10
-1
No files found.
innobase/os/os0file.c
View file @
bd52833d
...
...
@@ -394,10 +394,19 @@ os_file_lock(
lk
.
l_start
=
lk
.
l_len
=
0
;
if
(
fcntl
(
fd
,
F_SETLK
,
&
lk
)
==
-
1
)
{
fprintf
(
stderr
,
"InnoDB: Unable to lock %s, error: %d"
,
name
,
errno
);
"InnoDB: Unable to lock %s, error: %d
\n
"
,
name
,
errno
);
if
(
errno
==
EAGAIN
||
errno
==
EACCES
)
{
fprintf
(
stderr
,
"InnoDB: Check that you do not already have another mysqld process
\n
"
"InnoDB: using the same InnoDB data or log files.
\n
"
);
}
close
(
fd
);
return
(
-
1
);
}
return
(
0
);
}
#endif
/* USE_FILE_LOCK */
...
...
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