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
a5d6866f
Commit
a5d6866f
authored
May 30, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #28770 file already opened error when corrupt schema file
- make sure we close the first file, before opening the next
parent
0544f941
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+7
-1
No files found.
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
a5d6866f
...
...
@@ -401,6 +401,9 @@ void Dbdict::execFSCLOSECONF(Signal* signal)
case
FsConnectRecord
:
:
OPEN_READ_SCHEMA2
:
openSchemaFile
(
signal
,
1
,
fsPtr
.
i
,
false
,
false
);
break
;
case
FsConnectRecord
:
:
OPEN_READ_TAB_FILE2
:
openTableFile
(
signal
,
1
,
fsPtr
.
i
,
c_readTableRecord
.
tableId
,
false
);
break
;
default:
jamLine
((
fsPtr
.
p
->
fsState
&
0xFFF
));
ndbrequire
(
false
);
...
...
@@ -780,8 +783,11 @@ void Dbdict::readTableConf(Signal* signal,
void
Dbdict
::
readTableRef
(
Signal
*
signal
,
FsConnectRecordPtr
fsPtr
)
{
/**
* First close corrupt file
*/
fsPtr
.
p
->
fsState
=
FsConnectRecord
::
OPEN_READ_TAB_FILE2
;
openTableFile
(
signal
,
1
,
fsPtr
.
i
,
c_readTableRecord
.
tableId
,
false
);
closeFile
(
signal
,
fsPtr
.
p
->
filePtr
,
fsPtr
.
i
);
return
;
}
//Dbdict::readTableRef()
...
...
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