diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-07-20 14:15:56 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-07-20 14:15:56 +0300 |
commit | 0a7faed75ad49b99bace0882f89e08639c85679b (patch) | |
tree | 4b4feab93f318b43efd7214b6b9fcdeed3ad9162 /mysql-test/main/partition_explicit_prune.result | |
parent | 956f21c3b0beba89835e8d24fde4b67b589ab142 (diff) | |
download | mariadb-git-0a7faed75ad49b99bace0882f89e08639c85679b.tar.gz |
MDEV-22771 Instant extension of CHAR column is wrongly allowed
commit 854c219a7f0e1878517d5a821992f650342380dd (MDEV-17301)
broke a constraint: Fixed-length columns cannot be extended in InnoDB
without rebuilding the table.
ha_innobase::can_convert_string(): Correct the condition. We must
not allow any instantaneous change to the length of CHAR columns
measured in characters. For any format other than ROW_FORMAT=REDUNDANT,
we can allow the length in bytes to be extended if mbminlen<mbmaxlen held
before the change of the character set.
Diffstat (limited to 'mysql-test/main/partition_explicit_prune.result')
0 files changed, 0 insertions, 0 deletions