ndb - bug#16310

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