Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: reduce storage size for ENUM
This is incompatible change! ENUM requires 1 byte storage size for the number of elements < 256, 2 bytes storage size for the number of elements >= 256. Before this change, ENUM always uses 2 byte storage size. By this change, ENUM that has the number of elements < 256 uses 1 byte storage size. Users who use ENUM that has the number of elements < 256 need to recreate database. Users who doesn't use ENUM or use ENUM that has the number of elements >= 256 don't need to recreate database.
- Loading branch information