| 1 |
--- suite/plugins/r/compression.result |
| 2 |
+++ suite/plugins/r/compression.reject |
| 3 |
@@ -1,14 +1,8 @@ |
| 4 |
# |
| 5 |
-# Testing bzip2 compression provider with innodb |
| 6 |
+# Testing lz4 compression provider with mroonga |
| 7 |
# |
| 8 |
call mtr.add_suppression("MariaDB tried to use the .+ compression, but its provider plugin is not loaded"); |
| 9 |
-set global innodb_compression_algorithm = bzip2; |
| 10 |
-call mtr.add_suppression("Background Page read failed to read, uncompress, or decrypt"); |
| 11 |
-call mtr.add_suppression("Table is compressed or encrypted but uncompress or decrypt failed"); |
| 12 |
-call mtr.add_suppression("Table `test`.`t1` is corrupted. Please drop the table and recreate"); |
| 13 |
-call mtr.add_suppression("InnoDB: File '.*test/t1\\.ibd' is corrupted"); |
| 14 |
-call mtr.add_suppression("Table .*t1.* is compressed with (\\w+), which is not currently loaded. Please load the \\1 provider plugin to open the table"); |
| 15 |
-create table t1 (a int, b text ) engine = innodb page_compressed = 1; |
| 16 |
+create table t1 (a int, b text COMMENT 'FLAGS "COLUMN_SCALAR|COMPRESS_LZ4"') engine = mroonga charset = utf8; |
| 17 |
insert t1 (a, b) values (0, repeat("abc", 100)); |
| 18 |
insert t1 (a, b) values (1, repeat("def", 1000)); |
| 19 |
insert t1 (a, b) values (2, repeat("ghi", 10000)); |
| 20 |
@@ -17,12 +11,20 @@ |
| 21 |
0 abcabcabc 300 |
| 22 |
1 defdefdef 3000 |
| 23 |
2 ghighighi 30000 |
| 24 |
-# restart: --disable-provider-bzip2 |
| 25 |
+# restart: --disable-provider-lz4 |
| 26 |
select a, left(b, 9), length(b) from t1; |
| 27 |
-ERROR HY000: Table `test`.`t1` is corrupted. Please drop the table and recreate. |
| 28 |
-show warnings; |
| 29 |
-Level Code Message |
| 30 |
-Warning 4185 MariaDB tried to use the BZip2 compression, but its provider plugin is not loaded |
| 31 |
-Error 1877 Table `test`.`t1` is corrupted. Please drop the table and recreate. |
| 32 |
+a left(b, 9) length(b) |
| 33 |
+0 0 |
| 34 |
+1 0 |
| 35 |
+2 0 |
| 36 |
+Warnings: |
| 37 |
+Warning 4185 MariaDB tried to use the LZ4 compression, but its provider plugin is not loaded |
| 38 |
+select a, left(b, 9), length(b) from t1; |
| 39 |
+a left(b, 9) length(b) |
| 40 |
+0 0 |
| 41 |
+1 0 |
| 42 |
+2 0 |
| 43 |
+Warnings: |
| 44 |
+Warning 4185 MariaDB tried to use the LZ4 compression, but its provider plugin is not loaded |
| 45 |
drop table t1; |
| 46 |
# restart |