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
0bfc9246
Commit
0bfc9246
authored
Apr 22, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#9724 - ndb restart
if file already open occur print files...
parent
bbd0aa6c
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 @
0bfc9246
...
@@ -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