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
20646cf3
Commit
20646cf3
authored
Feb 06, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
parents
d65edca7
669a2bfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletion
+27
-1
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+13
-1
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+14
-0
No files found.
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
20646cf3
...
@@ -2992,7 +2992,19 @@ Dbdict::restartCreateTab_readTableConf(Signal* signal,
...
@@ -2992,7 +2992,19 @@ Dbdict::restartCreateTab_readTableConf(Signal* signal,
Uint32
sz
=
c_readTableRecord
.
no_of_words
;
Uint32
sz
=
c_readTableRecord
.
no_of_words
;
SimplePropertiesLinearReader
r
(
pageRecPtr
.
p
->
word
+
ZPAGE_HEADER_SIZE
,
sz
);
SimplePropertiesLinearReader
r
(
pageRecPtr
.
p
->
word
+
ZPAGE_HEADER_SIZE
,
sz
);
handleTabInfoInit
(
r
,
&
parseRecord
);
handleTabInfoInit
(
r
,
&
parseRecord
);
ndbrequire
(
parseRecord
.
errorCode
==
0
);
if
(
parseRecord
.
errorCode
!=
0
)
{
char
buf
[
255
];
BaseString
::
snprintf
(
buf
,
sizeof
(
buf
),
"Unable to restart, fail while creating table %d"
" error: %d. Most likely change of configuration"
,
c_readTableRecord
.
tableId
,
parseRecord
.
errorCode
);
progError
(
__LINE__
,
ERR_INVALID_CONFIG
,
buf
);
ndbrequire
(
parseRecord
.
errorCode
==
0
);
}
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
// We have read the table description from disk as part of system restart.
// We have read the table description from disk as part of system restart.
...
...
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
20646cf3
...
@@ -15991,8 +15991,22 @@ void Dblqh::findLogfile(Signal* signal,
...
@@ -15991,8 +15991,22 @@ void Dblqh::findLogfile(Signal* signal,
}
//if
}
//if
locLogFilePtr
.
i
=
locLogFilePtr
.
p
->
nextLogFile
;
locLogFilePtr
.
i
=
locLogFilePtr
.
p
->
nextLogFile
;
loopCount
++
;
loopCount
++
;
if
(
loopCount
>=
flfLogPartPtr
.
p
->
noLogFiles
&&
getNodeState
().
startLevel
!=
NodeState
::
SL_STARTED
)
{
goto
error
;
}
ndbrequire
(
loopCount
<
flfLogPartPtr
.
p
->
noLogFiles
);
ndbrequire
(
loopCount
<
flfLogPartPtr
.
p
->
noLogFiles
);
}
//while
}
//while
error:
char
buf
[
255
];
BaseString
::
snprintf
(
buf
,
sizeof
(
buf
),
"Unable to restart, failed while reading redo."
" Likely invalid change of configuration"
);
progError
(
__LINE__
,
ERR_INVALID_CONFIG
,
buf
);
}
//Dblqh::findLogfile()
}
//Dblqh::findLogfile()
/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */
...
...
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