mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user