mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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:
@ -247,6 +247,9 @@ DROP FUNCTION avgcost;
|
||||
# Bug #15439: UDF name case handling forces DELETE FROM mysql.func to remove
|
||||
# the UDF
|
||||
#
|
||||
|
||||
#enable view prtotocol after fix MDEV-28677
|
||||
--disable_view_protocol
|
||||
select * from mysql.func;
|
||||
--replace_result $UDF_EXAMPLE_SO UDF_EXAMPLE_LIB
|
||||
eval CREATE FUNCTION is_const RETURNS STRING SONAME "$UDF_EXAMPLE_SO";
|
||||
@ -259,6 +262,7 @@ select * from mysql.func;
|
||||
|
||||
--error 1305
|
||||
select is_const(3);
|
||||
--enable_view_protocol
|
||||
|
||||
#
|
||||
# Bug#18761: constant expression as UDF parameters not passed in as constant
|
||||
@ -400,6 +404,8 @@ DROP TABLE const_len_bug;
|
||||
# Bug #30355: Incorrect ordering of UDF results
|
||||
#
|
||||
|
||||
#enable view protocol after fix MDEV-28678
|
||||
--disable_view_protocol
|
||||
--replace_result $UDF_EXAMPLE_SO UDF_EXAMPLE_LIB
|
||||
eval CREATE FUNCTION udf_sequence RETURNS INTEGER SONAME "$UDF_EXAMPLE_SO";
|
||||
CREATE TABLE t1 (a INT);
|
||||
@ -415,6 +421,7 @@ SELECT * FROM t2 WHERE a = udf_sequence();
|
||||
|
||||
DROP FUNCTION udf_sequence;
|
||||
DROP TABLE t1,t2;
|
||||
--enable_view_protocol
|
||||
|
||||
#
|
||||
# Bug#31767 (DROP FUNCTION name resolution)
|
||||
|
Reference in New Issue
Block a user