Commit fe073647 authored by unknown's avatar unknown
Browse files

bug#11942 - ndb backup

  fix error code to avoid clash with 5.0/5.1


ndb/include/kernel/signaldata/AlterTable.hpp:
  Change error codes to remove clash from 5.0
ndb/include/kernel/signaldata/DropTable.hpp:
  Change error codes to remove clash from 5.0
ndb/src/ndbapi/ndberror.c:
  Change error codes to remove clash from 5.0
parent e071abac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ public:
    InvalidPrimaryKeySize  = 739,
    NullablePrimaryKey = 740,
    UnsupportedChange = 741,
    BackupInProgress = 746
    BackupInProgress = 762
  };

private:
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ public:
    InvalidTableVersion = 241,
    DropInProgress      = 283,
    NoDropTableRecordAvailable = 1229,
    BackupInProgress = 745
    BackupInProgress = 761
  };
};

+2 −2
Original line number Diff line number Diff line
@@ -312,8 +312,8 @@ ErrorBundle ErrorCodes[] = {
  { 742,  SE, "Unsupported attribute type in index" },
  { 743,  SE, "Unsupported character set in table or index" },
  { 744,  SE, "Character string is invalid for given character set" },
  { 745,  SE, "Unable to drop table as backup is in progress" },
  { 746,  SE, "Unable to alter 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" },
  { 241,  SE, "Invalid schema object version" },
  { 283,  SE, "Table is being dropped" },
  { 284,  SE, "Table not defined in transaction coordinator" },