diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-11-10 17:21:16 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-11-11 11:15:11 +0200 |
commit | 9bc874a594edbc0e124131d0ff30b44f5fade52d (patch) | |
tree | 38fd225df9573771fe967174e07151721663b3cd /mysql-test/suite/innodb/t/innodb-32k.test | |
parent | c498250888ec126fddda2867d1239b2a7734482f (diff) | |
download | mariadb-git-9bc874a594edbc0e124131d0ff30b44f5fade52d.tar.gz |
MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default
Let us introduce the parameter innodb_read_only_compressed
that is ON by default, making any ROW_FORMAT=COMPRESSED tables
read-only.
I developed the ROW_FORMAT=COMPRESSED format based on
Heikki Tuuri's rough design between 2005 and 2008. It might
have been a good idea back then, but no proper benchmarks were
ever run to validate the design or the implementation.
The format has been more or less obsolete for years.
It limits innodb_page_size to 16384 bytes (the default),
and instant ALTER TABLE is not supported.
This is the first step towards deprecating and removing
write support for ROW_FORMAT=COMPRESSED tables.
Diffstat (limited to 'mysql-test/suite/innodb/t/innodb-32k.test')
-rw-r--r-- | mysql-test/suite/innodb/t/innodb-32k.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/suite/innodb/t/innodb-32k.test b/mysql-test/suite/innodb/t/innodb-32k.test index a9645d65998..983ba88370a 100644 --- a/mysql-test/suite/innodb/t/innodb-32k.test +++ b/mysql-test/suite/innodb/t/innodb-32k.test @@ -20,7 +20,7 @@ SELECT variable_value FROM information_schema.global_status SET SESSION innodb_strict_mode = ON; --replace_regex /> [0-9]*/> max_row_size/ ---error 1005 +--error ER_CANT_CREATE_TABLE,ER_UNSUPPORTED_COMPRESSED_TABLE CREATE TABLE t1 ( c01 char(200), c02 char(200), c03 char(200), c04 char(200), c05 char(200), c06 char(200), c07 char(200), c08 char(200), c09 char(200), c10 char(200), |