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
83179e8d
Commit
83179e8d
authored
Apr 22, 2005
by
unknown
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
7404c983
feb48228
Changes
1
Hide 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 @
83179e8d
...
...
@@ -82,8 +82,14 @@ inline bool OpenFiles::insert(AsyncFile* file, Uint16 id){
continue
;
if
(
strcmp
(
m_files
[
i
].
m_file
->
theFileName
.
c_str
(),
file
->
theFileName
.
c_str
())
==
0
){
ERROR_SET
(
fatal
,
AFS_ERROR_ALLREADY_OPEN
,
""
,
"OpenFiles::insert()"
);
file
->
theFileName
.
c_str
())
==
0
)
{
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