mirror of
https://github.com/MariaDB/server.git
synced 2025-01-25 00:04:33 +01:00
4a5d393ece
git-svn-id: file:///svn/mysql/tests/mysql-test@47636 c7de825b-a66e-492c-adef-691d508d4ae1 |
||
---|---|---|
.. | ||
change_bin.py | ||
change_bin.test | ||
change_bin_pad.test | ||
change_bin_rename.test | ||
change_char.py | ||
change_char.test | ||
change_char_multiple_alters.test | ||
change_char_rename.py | ||
change_char_rename.test | ||
change_int.py | ||
change_int.test | ||
change_int_default.test | ||
change_int_not_supported.py | ||
change_int_not_supported.test | ||
change_int_rename.test | ||
change_multiple_int.test | ||
change_uint.test | ||
change_uint_default.test | ||
change_uint_rename.test | ||
change_varbin.test | ||
change_varbin_cross256.test | ||
change_varbin_default.test | ||
change_varbin_key.test | ||
change_varbin_multiple.test | ||
change_varbin_null.test | ||
change_varbin_rename.test | ||
change_varbin_varchar.test | ||
change_varchar.test | ||
change_varchar_charset.test | ||
change_varchar_cross256.test | ||
change_varchar_default.test | ||
change_varchar_key.test | ||
change_varchar_multiple.test | ||
change_varchar_null.test | ||
change_varchar_rename.test | ||
change_varchar_varbin.test | ||
README |
= Hot column change operations = * varchar(X) -> varchar(Y) for all 0 <= X <= Y < 64K * varchar(X) not null -> varchar(Y) not null for all 0 <= X <= Y < 64K * varbinary(X) -> varbinary(Y) for all 0 <= X <= Y < 64K * varbinary(X) not null -> varbinary(Y) not null for all 0 <= X <= Y < 64K * tinyint -> smallint -> mediumint -> int -> bigint * tinyint unsigned -> smallint unsigned-> mediumint unsigned -> int unsigned -> bigint unsigned * tinyint not null -> smallint not null -> mediumint not null -> int not null -> bitint not null * tinyint unsigned not null -> smallint unsigned not null -> mediumint unsigned not null -> int unsigned not null -> bitint unsigned not null * char(X) -> char(Y) for all 0 <= X <= Y < 256 * char(X) not null -> char(Y) not null for all 0 <= X <= Y < 256 * binary(X) -> binary(Y) for all 0 <= X <= Y < 256 * binary(X) not null -> binary(Y) not null for all 0 <= X <= Y < 256 = Changes to the row value = * Variable length offsets expand from 1 to 2 bytes * Fixed field value is expanded * Sign bit for signed integers is expanded * Pad for fixed char fields is a space * Pad for fixed binary fields is a zero = Restrictions = * Changed field is not part of any key = Tests =