summaryrefslogtreecommitdiff
path: root/mysql-test/main/func_compress.test
diff options
context:
space:
mode:
authorLena Startseva <lena.startseva@mariadb.com>2022-06-09 10:32:51 +0700
committerLena Startseva <lena.startseva@mariadb.com>2022-09-23 17:36:20 +0700
commit72ba96a48eb3e99a967e0489cc79f378e865e3fd (patch)
treed68b640bd3b6f71c4c7e13967776a13aa29965a2 /mysql-test/main/func_compress.test
parent1dd6255ffef901dddcff2191ddf975a2019799d9 (diff)
downloadmariadb-git-72ba96a48eb3e99a967e0489cc79f378e865e3fd.tar.gz
MDEV-27691: make working view-protocol
Tests with checking metadata or that cannot be run with the view-protocol are excluded from --view-protocol. For tests that do not allow the use of an additional connection, the util connection is disabled with "--disable_service_connection". Also cases with bugs for --view-protocol are disabled.
Diffstat (limited to 'mysql-test/main/func_compress.test')
-rw-r--r--mysql-test/main/func_compress.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/main/func_compress.test b/mysql-test/main/func_compress.test
index 2a6c0276705..f41a5898154 100644
--- a/mysql-test/main/func_compress.test
+++ b/mysql-test/main/func_compress.test
@@ -48,6 +48,9 @@ drop table t1;
# note that when LOW_MEMORY is set the "test" below is meaningless
#
+#view protocol generates additional warning
+--disable_view_protocol
+
set @@global.max_allowed_packet=1048576*100;
--replace_result "''" XXX "'1'" XXX
@@ -59,6 +62,8 @@ disconnect newconn;
connection default;
set @@global.max_allowed_packet=@save_max_allowed_packet;
+--enable_view_protocol
+
#
# Bug #18643: problem with null values
#
@@ -185,7 +190,9 @@ DROP TABLE t1;
--echo #
--echo # MDEV-23149 Server crashes in my_convert / ErrConvString::ptr / Item_char_typecast::check_truncation_with_warn
--echo #
+--disable_view_protocol
select 'foo' in (cast(compress('bar') as char(4)), 'qux');
+--enable_view_protocol
--echo #
--echo # End of 10.2 tests