CREATE TABLE `test` (
`a` varchar(65535)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
cannot create and get an error:
Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
CREATE TABLE `test1` (
`a` varchar(65536)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
if change 65535 to 65536, it works, and the type of a
auto-transfer from varchar
to mediumtext
.