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
5f5f25c0
Commit
5f5f25c0
authored
Apr 22, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-5.0
parents
325918ee
0bfc9246
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
ndb/src/kernel/blocks/ndbfs/OpenFiles.hpp
ndb/src/kernel/blocks/ndbfs/OpenFiles.hpp
+8
-2
No files found.
ndb/src/kernel/blocks/ndbfs/OpenFiles.hpp
View file @
5f5f25c0
...
@@ -82,8 +82,14 @@ inline bool OpenFiles::insert(AsyncFile* file, Uint16 id){
...
@@ -82,8 +82,14 @@ inline bool OpenFiles::insert(AsyncFile* file, Uint16 id){
continue
;
continue
;
if
(
strcmp
(
m_files
[
i
].
m_file
->
theFileName
.
c_str
(),
if
(
strcmp
(
m_files
[
i
].
m_file
->
theFileName
.
c_str
(),
file
->
theFileName
.
c_str
())
==
0
){
file
->
theFileName
.
c_str
())
==
0
)
ERROR_SET
(
fatal
,
AFS_ERROR_ALLREADY_OPEN
,
""
,
"OpenFiles::insert()"
);
{
BaseString
names
;
names
.
assfmt
(
"open: >%s< existing: >%s<"
,
file
->
theFileName
.
c_str
(),
m_files
[
i
].
m_file
->
theFileName
.
c_str
());
ERROR_SET
(
fatal
,
AFS_ERROR_ALLREADY_OPEN
,
names
.
c_str
(),
"OpenFiles::insert()"
);
}
}
}
}
...
...
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