BUG#22240 Upgrading from cluster 5.0 to 5.1 does not resize VARCHARS as...
BUG#22240 Upgrading from cluster 5.0 to 5.1 does not resize VARCHARS as expected. With --no-upgrade (-u) option, user can decide if ignore the upgrade, the default action is to upgrade them. storage/ndb/tools/restore/consumer_restore.cpp: 1)Assign the correct array type for varchar and varbinary type when creating them in NDB kernel 2)Replace the max length defined with the real length used for var data storage/ndb/tools/restore/consumer_restore.hpp: Add the "m_no_upgrade" member variable to decide if upgrading array type for var type storage/ndb/tools/restore/restore_main.cpp: Add --no-upgrade(-u) option for ndb_restore to decide if upgrade array type for var data. The default is false, it should be used with --skip-table-check(-s) option when -u option is unused.
Showing
Please register or sign in to comment