Commit 0bfc9246 authored by joreland@mysql.com's avatar joreland@mysql.com

bug#9724 - ndb restart

  if file already open occur print files...
parent bbd0aa6c
...@@ -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()");
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment