mariadb/mysql-test/suite/tokudb.change_column/t
Rich Prohaska 4a5d393ece refs #5333 add more column expansion tests
git-svn-id: file:///svn/mysql/tests/mysql-test@47636 c7de825b-a66e-492c-adef-691d508d4ae1
2012-09-10 12:06:13 +00:00
..
change_bin.py refs #5333 #5334 more field expansion tests 2012-09-07 21:21:37 +00:00
change_bin.test refs #5333 #5334 more field expansion tests 2012-09-07 21:21:37 +00:00
change_bin_pad.test refs #5333 char and bin expansion test cases 2012-09-07 18:41:06 +00:00
change_bin_rename.test refs #5333 add more column expansion tests 2012-09-10 12:06:13 +00:00
change_char.py refs #5334 add tests for int expansion that is not supported inplace 2012-09-09 19:40:47 +00:00
change_char.test refs #5334 add tests for int expansion that is not supported inplace 2012-09-09 19:40:47 +00:00
change_char_multiple_alters.test refs #5333 #5334 more field expansion tests 2012-09-07 21:21:37 +00:00
change_char_rename.py refs #5333 add more column expansion tests 2012-09-10 12:06:13 +00:00
change_char_rename.test refs #5333 add more column expansion tests 2012-09-10 12:06:13 +00:00
change_int.py refs #5333 char and bin expansion test cases 2012-09-07 18:41:06 +00:00
change_int.test refs #5334 some int expansion test cases 2012-09-07 12:09:49 +00:00
change_int_default.test refs #5333 add more column expansion tests 2012-09-10 12:06:13 +00:00
change_int_not_supported.py refs #5334 add tests for int expansion that is not supported inplace 2012-09-09 19:40:47 +00:00
change_int_not_supported.test refs #5334 add tests for int expansion that is not supported inplace 2012-09-09 19:40:47 +00:00
change_int_rename.test refs #5333 add more column expansion tests 2012-09-10 12:06:13 +00:00
change_multiple_int.test refs #5333 #5334 more field expansion tests 2012-09-07 21:21:37 +00:00
change_uint.test refs #5334 some int expansion test cases 2012-09-07 12:09:49 +00:00
change_uint_default.test refs #5333 add more column expansion tests 2012-09-10 12:06:13 +00:00
change_uint_rename.test refs #5333 add more column expansion tests 2012-09-10 12:06:13 +00:00
change_varbin.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varbin_cross256.test refs #5333 add change column tests for varchar expansion 2012-09-05 17:39:38 +00:00
change_varbin_default.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varbin_key.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varbin_multiple.test refs #5333 add change column tests for varchar expansion 2012-09-05 17:39:38 +00:00
change_varbin_null.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varbin_rename.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varbin_varchar.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varchar.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varchar_charset.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varchar_cross256.test refs #5333 add change column tests for varchar expansion 2012-09-05 17:39:38 +00:00
change_varchar_default.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varchar_key.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varchar_multiple.test refs #5333 add change column tests for varchar expansion 2012-09-05 17:39:38 +00:00
change_varchar_null.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varchar_rename.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
change_varchar_varbin.test refs #5333 port varchar expansion tests to mysql 5.5 2012-09-06 15:57:04 +00:00
README refs #5334 add tests for int expansion that is not supported inplace 2012-09-09 19:40:47 +00:00

= 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 =