mariadb version > 10.1 changed the default row_format
from COMPACT to DYNAMIC. system upgraded to 7.5 therefore
end up with table partitions with different row_format, since
creating tables do not honour row_format (mysql bug 95478).
this in turn causes "ALTER TABLE .. EXCHANGE PARTITION .."
statements to fail with an error 1731 ("non matching attribute
ROW_FORMAT between table and partition", see MDEV-26027).
a manual mitigation would mean to align the row_formats
using "ALTER TABLE .. ROW_FORMAT = ..". But this in turn can
result fail with erro 1118 ("row size too large") for tables
with many&long columns (ie. accounting.cdr).
this fix will now mitigate the situation by falling back to
the built-in rowcopy method, if it detects mismatching
row_format.
Change-Id: Ief220be41b2350fa1437b6f35d46d1811facb57f
(cherry picked from commit 12de9892f8
)
mr9.5.5
parent
485ac6f494
commit
61cb4cc85f
Loading…
Reference in new issue