mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
Bug #19543 Out REDO log on subscription creation during startup, missing error message
- add error message
This commit is contained in:
parent
49b9b9a017
commit
0f55e30fa8
2 changed files with 19 additions and 0 deletions
|
@ -410,7 +410,22 @@ Suma::createSequenceReply(Signal* signal,
|
|||
jam();
|
||||
|
||||
if (ref != NULL)
|
||||
{
|
||||
switch ((UtilSequenceRef::ErrorCode)ref->errorCode)
|
||||
{
|
||||
case UtilSequenceRef::NoSuchSequence:
|
||||
ndbrequire(false);
|
||||
case UtilSequenceRef::TCError:
|
||||
{
|
||||
char buf[128];
|
||||
snprintf(buf, sizeof(buf),
|
||||
"Startup failed during sequence creation. TC error %d",
|
||||
ref->TCErrorCode);
|
||||
progError(__LINE__, NDBD_EXIT_RESOURCE_ALLOC_ERROR, buf);
|
||||
}
|
||||
}
|
||||
ndbrequire(false);
|
||||
}
|
||||
|
||||
sendSTTORRY(signal);
|
||||
}
|
||||
|
|
|
@ -80,6 +80,10 @@ static const ErrStruct errArray[] =
|
|||
/* this error message is complemented by additional info when generated */
|
||||
{NDBD_EXIT_INVALID_CONFIG, XCE,
|
||||
"Invalid configuration received from Management Server"},
|
||||
|
||||
{NDBD_EXIT_RESOURCE_ALLOC_ERROR, XCE,
|
||||
"Resource allocation error, please review the configuration"},
|
||||
|
||||
/* this error message is complemented by additional info when
|
||||
generated, such as signal, and text
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue