ndb - bug#16310

better error message for creating table with non-existing tablespace
This commit is contained in:
jonas@perch.ndb.mysql.com 2006-08-21 14:09:50 +02:00
parent 8ea0b13306
commit c7a78551c6
2 changed files with 4 additions and 1 deletions

View file

@ -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);
}

View file

@ -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" },