forgot a return 0

    removed some errorcodes not used
parent fd39778f
...@@ -200,6 +200,7 @@ extern "C" { ...@@ -200,6 +200,7 @@ extern "C" {
int ndb_mgmclient_handle_destroy(Ndb_mgmclient_handle h) int ndb_mgmclient_handle_destroy(Ndb_mgmclient_handle h)
{ {
delete (Ndb_mgmclient*)h; delete (Ndb_mgmclient*)h;
return 0;
} }
} }
/* /*
......
...@@ -152,7 +152,7 @@ ErrorBundle ErrorCodes[] = { ...@@ -152,7 +152,7 @@ ErrorBundle ErrorCodes[] = {
{ 624, IS, "624" }, { 624, IS, "624" },
{ 625, IS, "Out of memory in Ndb Kernel, index part (increase IndexMemory)" }, { 625, IS, "Out of memory in Ndb Kernel, index part (increase IndexMemory)" },
{ 800, IS, "Too many ordered indexes (increase MaxNoOfOrderedIndexes)" }, { 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)" }, { 827, IS, "Out of memory in Ndb Kernel, data part (increase DataMemory)" },
{ 832, IS, "832" }, { 832, IS, "832" },
...@@ -290,7 +290,7 @@ ErrorBundle ErrorCodes[] = { ...@@ -290,7 +290,7 @@ ErrorBundle ErrorCodes[] = {
{ 283, SE, "Table is being dropped" }, { 283, SE, "Table is being dropped" },
{ 284, SE, "Table not defined in transaction coordinator" }, { 284, SE, "Table not defined in transaction coordinator" },
{ 285, SE, "Unknown table error 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" }, { 1225, SE, "Table not defined in local query handler" },
{ 1226, SE, "Table is being dropped" }, { 1226, SE, "Table is being dropped" },
{ 1228, SE, "Cannot use drop table for drop index" }, { 1228, SE, "Cannot use drop table for drop index" },
...@@ -346,17 +346,11 @@ ErrorBundle ErrorCodes[] = { ...@@ -346,17 +346,11 @@ ErrorBundle ErrorCodes[] = {
{ 4327, AE, "Distribution Group with 1 byte attribute is not allowed" }, { 4327, AE, "Distribution Group with 1 byte attribute is not allowed" },
{ 4328, AE, "Disk memory attributes not yet supported" }, { 4328, AE, "Disk memory attributes not yet supported" },
{ 4329, AE, "Variable stored 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" }, { 4400, AE, "Status Error in NdbSchemaCon" },
{ 4401, AE, "Only one schema operation per schema transaction" }, { 4401, AE, "Only one schema operation per schema transaction" },
{ 4402, AE, "No schema operation defined before calling execute" }, { 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" }, { 4501, AE, "Insert in hash table failed when getting table information from Ndb" },
{ 4502, AE, "GetValue not allowed in Update operation" }, { 4502, AE, "GetValue not allowed in Update operation" },
{ 4503, AE, "GetValue not allowed in Insert operation" }, { 4503, AE, "GetValue not allowed in Insert operation" },
......
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