mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
08413254b7
innodb_file_format=Barracuda is the default in MariaDB 10.2. Do not set it, because the option will be removed in MariaDB 10.3. Also, do not set innodb_file_per_table=1 because it is the default. Note that MDEV-11828 should fix the test innodb.innodb-64k already in 10.1.
16 lines
490 B
Text
16 lines
490 B
Text
-- source include/have_innodb.inc
|
|
|
|
SET GLOBAL innodb_strict_mode=on;
|
|
set old_alter_table=0;
|
|
|
|
CREATE TABLE bug53591(a text charset utf8 not null)
|
|
ENGINE=InnoDB KEY_BLOCK_SIZE=1;
|
|
-- replace_result 8126 {checked_valid} 4030 {checked_valid} 1982 {checked_valid}
|
|
-- error ER_TOO_BIG_ROWSIZE
|
|
ALTER TABLE bug53591 ADD PRIMARY KEY(a(220));
|
|
-- replace_result 8126 {checked_valid} 4030 {checked_valid} 1982 {checked_valid}
|
|
SHOW WARNINGS;
|
|
|
|
DROP TABLE bug53591;
|
|
|
|
SET GLOBAL innodb_strict_mode=DEFAULT;
|