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
54b90e13
Commit
54b90e13
authored
Dec 08, 2004
by
unknown
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
6019dd18
0dbe00d1
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 @
54b90e13
...
...
@@ -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