diff options
author | William Desportes <williamdes@wdes.fr> | 2022-10-01 00:19:09 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2022-10-01 00:19:09 +0300 |
commit | 71035fd9b09623672aa5dbada51701b1a937f075 (patch) | |
tree | d1b55fd482c9c4a0f58540f152554735f35ec21d /test | |
parent | 1be3cad6e3004b875d85341cb3cf1edac637d2a2 (diff) |
Add a test for the compressed option for MariaDB
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test')
-rw-r--r-- | test/classes/UtilTest.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/classes/UtilTest.php b/test/classes/UtilTest.php index e03cd28fe4..cf33856a30 100644 --- a/test/classes/UtilTest.php +++ b/test/classes/UtilTest.php @@ -737,6 +737,21 @@ class UtilTest extends AbstractTestCase 'displayed_type' => 'varbinary(255)', ], ], + [ + 'varchar(11) /*!100301 COMPRESSED*/', + [ + 'type' => 'varchar', + 'print_type' => 'varchar(11)', + 'binary' => false, + 'unsigned' => false, + 'zerofill' => false, + 'spec_in_brackets' => '11', + 'enum_set_values' => [], + 'attribute' => 'COMPRESSED=zlib', + 'can_contain_collation' => true, + 'displayed_type' => 'varchar(11)', + ], + ], ]; } |