Debian Codegraph @

mysql-test/suite/x/r/compression_level_lz4_adjustment.result

raw
1 SET GLOBAL mysqlx_compression_algorithms='DEFLATE_STREAM,LZ4_MESSAGE,ZSTD_STREAM';
2 SET GLOBAL mysqlx_lz4_default_compression_level=4;
3 SET GLOBAL mysqlx_lz4_max_client_compression_level=16;
4
5 Compression level DEFAULT adjusted to 4 for LZ4_MESSAGE
6 =======================================================
7 Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of LZ4_MESSAGE]
8 Verify [Status variable "Mysqlx_compression_level" needs to have a value of 4]
9 Mysqlx.Ok {
10 msg: "bye!"
11 }
12 ok
13 SET GLOBAL mysqlx_lz4_default_compression_level=4;
14 SET GLOBAL mysqlx_lz4_max_client_compression_level=16;
15
16 Compression level -100 adjusted to 0 for LZ4_MESSAGE
17 ====================================================
18 Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of LZ4_MESSAGE]
19 Verify [Status variable "Mysqlx_compression_level" needs to have a value of 0]
20 Mysqlx.Ok {
21 msg: "bye!"
22 }
23 ok
24 SET GLOBAL mysqlx_lz4_default_compression_level=4;
25 SET GLOBAL mysqlx_lz4_max_client_compression_level=DEFAULT;
26
27 Compression level 100 adjusted to 8 for LZ4_MESSAGE
28 ===================================================
29 Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of LZ4_MESSAGE]
30 Verify [Status variable "Mysqlx_compression_level" needs to have a value of 8]
31 Mysqlx.Ok {
32 msg: "bye!"
33 }
34 ok
35 SET GLOBAL mysqlx_lz4_default_compression_level=4;
36 SET GLOBAL mysqlx_lz4_max_client_compression_level=16;
37
38 Compression level 100 adjusted to 16 for LZ4_MESSAGE
39 ====================================================
40 Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of LZ4_MESSAGE]
41 Verify [Status variable "Mysqlx_compression_level" needs to have a value of 16]
42 Mysqlx.Ok {
43 msg: "bye!"
44 }
45 ok
46 SET GLOBAL mysqlx_lz4_default_compression_level=4;
47 SET GLOBAL mysqlx_lz4_max_client_compression_level=3;
48
49 Compression level DEFAULT adjusted to 3 for LZ4_MESSAGE
50 =======================================================
51 Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of LZ4_MESSAGE]
52 Verify [Status variable "Mysqlx_compression_level" needs to have a value of 3]
53 Mysqlx.Ok {
54 msg: "bye!"
55 }
56 ok
57 SET GLOBAL mysqlx_lz4_max_client_compression_level=DEFAULT;
58 SET GLOBAL mysqlx_lz4_default_compression_level=DEFAULT;
59 SET GLOBAL mysqlx_compression_algorithms=DEFAULT;