Commit 9812d796 authored by unknown's avatar unknown

ndb - bug#16310

  better error message for creating table with non-existing tablespace


storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  better error reporting
storage/ndb/src/ndbapi/ndberror.c:
  better error reporting
parent faa71d3a
......@@ -2600,6 +2600,9 @@ loop:
else
{
// error set by get filegroup
if (m_error.code == 723)
m_error.code = 755;
NdbMem_Free((void*)tmpTab);
DBUG_RETURN(-1);
}
......
......@@ -376,7 +376,7 @@ ErrorBundle ErrorCodes[] = {
{ 752, DMEC, SE, "Invalid file format" },
{ 753, IE, SE, "Invalid filegroup for file" },
{ 754, IE, SE, "Invalid filegroup version when creating file" },
{ 755, DMEC, SE, "Invalid tablespace" },
{ 755, HA_WRONG_CREATE_OPTION, SE, "Invalid tablespace" },
{ 756, DMEC, SE, "Index on disk column is not supported" },
{ 757, DMEC, SE, "Varsize bitfield not supported" },
{ 758, DMEC, SE, "Tablespace has changed" },
......
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