Commit 89d83739 authored by unknown's avatar unknown

BUG#19808, Online config. Wrong error message if DataMemory less than a data on cluster


storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  add err message when error occur
parent 479ffe15
...@@ -3249,8 +3249,20 @@ Dbdict::restartCreateTab_dihComplete(Signal* signal, ...@@ -3249,8 +3249,20 @@ Dbdict::restartCreateTab_dihComplete(Signal* signal,
CreateTableRecordPtr createTabPtr; CreateTableRecordPtr createTabPtr;
ndbrequire(c_opCreateTable.find(createTabPtr, callbackData)); ndbrequire(c_opCreateTable.find(createTabPtr, callbackData));
//@todo check error fprintf(stderr,"Dbdict:restartCreateTab_dihComplete:, errorCode=%d\n", createTabPtr.p->m_errorCode);
ndbrequire(createTabPtr.p->m_errorCode == 0); if (createTabPtr.p->m_errorCode != 0)
{
char buf[255];
BaseString::snprintf(buf, sizeof(buf),
"Unable to restart, fail while creating table"
" error: %d. Most likely change of configuration",
createTabPtr.p->m_errorCode);
progError(__LINE__,
NDBD_EXIT_INVALID_CONFIG,
buf);
ndbrequire(createTabPtr.p->m_errorCode == 0);
}
Callback callback; Callback callback;
callback.m_callbackData = callbackData; callback.m_callbackData = callbackData;
......
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