Commit 7c564532 authored by unknown's avatar unknown
Browse files

corrected errorcodes to be in right range

parent 57684ad9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -61,9 +61,9 @@ public:
 
  enum ErrorCode {
    OK = 0
    ,InvalidNodeGroup = 1307
    ,InvalidFragmentationType = 1308
    ,InvalidPrimaryTable = 1309
    ,InvalidNodeGroup = 747
    ,InvalidFragmentationType = 748
    ,InvalidPrimaryTable = 749
  };
 
private:
+3 −4
Original line number Diff line number Diff line
@@ -344,6 +344,9 @@ ErrorBundle ErrorCodes[] = {
  { 743,  SE, "Unsupported character set in table or index" },
  { 744,  SE, "Character string is invalid for given character set" },
  { 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" },
  { 762,  SE, "Unable to alter table as backup is in progress" },
  { 241,  SE, "Invalid schema object version" },
@@ -378,10 +381,6 @@ ErrorBundle ErrorCodes[] = {
  { 1305, IE, "Backup definition not implemented" },
  { 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" },
  { 1322, IE, "Backup already completed" },
  { 1323, IE, "1323" },