Commit 7c564532 authored by unknown's avatar unknown

corrected errorcodes to be in right range

parent 57684ad9
...@@ -61,9 +61,9 @@ public: ...@@ -61,9 +61,9 @@ public:
enum ErrorCode { enum ErrorCode {
OK = 0 OK = 0
,InvalidNodeGroup = 1307 ,InvalidNodeGroup = 747
,InvalidFragmentationType = 1308 ,InvalidFragmentationType = 748
,InvalidPrimaryTable = 1309 ,InvalidPrimaryTable = 749
}; };
private: private:
......
...@@ -344,6 +344,9 @@ ErrorBundle ErrorCodes[] = { ...@@ -344,6 +344,9 @@ ErrorBundle ErrorCodes[] = {
{ 743, SE, "Unsupported character set in table or index" }, { 743, SE, "Unsupported character set in table or index" },
{ 744, SE, "Character string is invalid for given character set" }, { 744, SE, "Character string is invalid for given character set" },
{ 745, SE, "Distribution key not supported for char attribute (use binary attribute)" }, { 745, SE, "Distribution key not supported for char attribute (use binary attribute)" },
{ 747, AE, "Given NODEGROUP doesn't exist in this cluster" },
{ 748, IE, "Given fragmentType doesn't exist" },
{ 749, IE, "Primary Table in wrong state" },
{ 761, SE, "Unable to drop table as backup is in progress" }, { 761, SE, "Unable to drop table as backup is in progress" },
{ 762, SE, "Unable to alter table as backup is in progress" }, { 762, SE, "Unable to alter table as backup is in progress" },
{ 241, SE, "Invalid schema object version" }, { 241, SE, "Invalid schema object version" },
...@@ -378,10 +381,6 @@ ErrorBundle ErrorCodes[] = { ...@@ -378,10 +381,6 @@ ErrorBundle ErrorCodes[] = {
{ 1305, IE, "Backup definition not implemented" }, { 1305, IE, "Backup definition not implemented" },
{ 1306, AE, "Backup not supported in diskless mode (change Diskless)" }, { 1306, AE, "Backup not supported in diskless mode (change Diskless)" },
{ 1307, AE, "Given NODEGROUP doesn't exist in this cluster" },
{ 1308, IE, "Given fragmentType doesn't exist" },
{ 1309, IE, "Primary Table in wrong state" },
{ 1321, IE, "Backup aborted by application" }, { 1321, IE, "Backup aborted by application" },
{ 1322, IE, "Backup already completed" }, { 1322, IE, "Backup already completed" },
{ 1323, IE, "1323" }, { 1323, IE, "1323" },
......
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