• unknown's avatar
    BUG#29674 Restore/backup are endian compatible in 5.0 · 4c23e5f3
    unknown authored
    
    ndb/src/ndbapi/NdbDictionaryImpl.cpp:
      Twiddle the "replicaCount" and "fragCount" variable when restore data from different endian.
    ndb/src/ndbapi/NdbDictionaryImpl.hpp:
      Add byte order variable
    ndb/tools/restore/Restore.cpp:
      Twiddle blob, datatime,timestamp when do restore in different endian.
    mysql-test/r/ndb_restore_different_endian_data.result:
      Test case result for restore data from different endian
    mysql-test/std_data/ndb_backup50_data_be/BACKUP-1-0.1.Data:
      Test case data
    mysql-test/std_data/ndb_backup50_data_be/BACKUP-1-0.2.Data:
      Test case data
    mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.1.ctl:
      Test case data
    mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.1.log:
      Test case data
    mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.2.ctl:
      Test case data
    mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.2.log:
      Test case data
    mysql-test/std_data/ndb_backup50_data_le/BACKUP-1-0.1.Data:
      Test case data
    mysql-test/std_data/ndb_backup50_data_le/BACKUP-1-0.2.Data:
      Test case data
    mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.1.ctl:
      Test case data
    mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.1.log:
      Test case data
    mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.2.ctl:
      Test case data
    mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.2.log:
      Test case data
    mysql-test/t/ndb_restore_different_endian_data.test:
      Test case for restore data from different endian
    4c23e5f3
Restore.cpp 27 KB