mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
forgot a return 0
removed some errorcodes not used ndb/src/mgmclient/CommandInterpreter.cpp: forgot a return 0 ndb/src/ndbapi/ndberror.c: removed some errorcodes not used
This commit is contained in:
parent
784a9a9fda
commit
3048dc0fa2
2 changed files with 3 additions and 8 deletions
|
@ -200,6 +200,7 @@ extern "C" {
|
|||
int ndb_mgmclient_handle_destroy(Ndb_mgmclient_handle h)
|
||||
{
|
||||
delete (Ndb_mgmclient*)h;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
/*
|
||||
|
|
|
@ -152,7 +152,7 @@ ErrorBundle ErrorCodes[] = {
|
|||
{ 624, IS, "624" },
|
||||
{ 625, IS, "Out of memory in Ndb Kernel, index part (increase IndexMemory)" },
|
||||
{ 800, IS, "Too many ordered indexes (increase MaxNoOfOrderedIndexes)" },
|
||||
{ 826, IS, "Too many tables and attributes (increase MaxNoOfAttributes)" },
|
||||
{ 826, IS, "Too many tables and attributes (increase MaxNoOfAttributes or MaxNoOfTables)" },
|
||||
{ 827, IS, "Out of memory in Ndb Kernel, data part (increase DataMemory)" },
|
||||
{ 832, IS, "832" },
|
||||
|
||||
|
@ -290,7 +290,7 @@ ErrorBundle ErrorCodes[] = {
|
|||
{ 283, SE, "Table is being dropped" },
|
||||
{ 284, SE, "Table not defined in transaction coordinator" },
|
||||
{ 285, SE, "Unknown table error in transaction coordinator" },
|
||||
{ 881, SE, "Unable to create table, out of data pages" },
|
||||
{ 881, SE, "Unable to create table, out of data pages (increase DataMemory) " },
|
||||
{ 1225, SE, "Table not defined in local query handler" },
|
||||
{ 1226, SE, "Table is being dropped" },
|
||||
{ 1228, SE, "Cannot use drop table for drop index" },
|
||||
|
@ -346,17 +346,11 @@ ErrorBundle ErrorCodes[] = {
|
|||
{ 4327, AE, "Distribution Group with 1 byte attribute is not allowed" },
|
||||
{ 4328, AE, "Disk memory attributes not yet supported" },
|
||||
{ 4329, AE, "Variable stored attributes not yet supported" },
|
||||
{ 4330, AE, "Table names limited to 127 bytes" },
|
||||
{ 4331, AE, "Attribute names limited to 31 bytes" },
|
||||
{ 4332, AE, "Maximum 2000 attributes in a table" },
|
||||
{ 4333, AE, "Maximum 4092 bytes long keys allowed" },
|
||||
{ 4334, AE, "Attribute properties length limited to 127 bytes" },
|
||||
|
||||
{ 4400, AE, "Status Error in NdbSchemaCon" },
|
||||
{ 4401, AE, "Only one schema operation per schema transaction" },
|
||||
{ 4402, AE, "No schema operation defined before calling execute" },
|
||||
|
||||
{ 4500, AE, "Cannot handle more than 2048 tables in NdbApi" },
|
||||
{ 4501, AE, "Insert in hash table failed when getting table information from Ndb" },
|
||||
{ 4502, AE, "GetValue not allowed in Update operation" },
|
||||
{ 4503, AE, "GetValue not allowed in Insert operation" },
|
||||
|
|
Loading…
Reference in a new issue