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
78bd6d93
Commit
78bd6d93
authored
Feb 06, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#13966 - ndb
better error message on invalid config change
parent
155081e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+1
-1
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+14
-0
No files found.
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
78bd6d93
...
...
@@ -2402,7 +2402,7 @@ Dbdict::restartCreateTab_readTableConf(Signal* signal,
char
buf
[
255
];
BaseString
::
snprintf
(
buf
,
sizeof
(
buf
),
"Unable to restart, fail while creating table %d"
" error: %d. Most likely change of configution"
,
" error: %d. Most likely change of configu
ra
tion"
,
c_readTableRecord
.
tableId
,
parseRecord
.
errorCode
);
progError
(
__LINE__
,
...
...
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
78bd6d93
...
...
@@ -16096,8 +16096,22 @@ void Dblqh::findLogfile(Signal* signal,
}
//if
locLogFilePtr
.
i
=
locLogFilePtr
.
p
->
nextLogFile
;
loopCount
++
;
if
(
loopCount
>=
flfLogPartPtr
.
p
->
noLogFiles
&&
getNodeState
().
startLevel
!=
NodeState
::
SL_STARTED
)
{
goto
error
;
}
ndbrequire
(
loopCount
<
flfLogPartPtr
.
p
->
noLogFiles
);
}
//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()
/* ------------------------------------------------------------------------- */
...
...
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