1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge branch '10.10' into 10.11

This commit is contained in:
Oleksandr Byelkin
2023-08-08 14:57:31 +02:00
871 changed files with 12640 additions and 6371 deletions

View File

@ -297,8 +297,10 @@ CREATE FUNCTION test_func5 (s CHAR(20)) RETURNS VARCHAR(30)
--echo # We cannot use the index due to missing condition on SPECIFIC_SCHEMA,
--echo # but we will use SPECIFIC_NAME for filtering records from mysql.proc
FLUSH STATUS;
--disable_ps2_protocol
query_vertical SELECT * FROM INFORMATION_SCHEMA.PARAMETERS
WHERE SPECIFIC_NAME = 'test_func5';
--enable_ps2_protocol
--replace_result $count_routines count_routines
SHOW STATUS LIKE 'handler_read%next';
@ -306,6 +308,7 @@ SHOW STATUS LIKE 'handler_read%next';
--echo # We cannot use the index due to CONCAT(), and filtering by SPECIFIC_NAME
--echo # does not work either since SPECIFIC_NAME = 'not_existing_proc'. See
--echo # the difference in counters in comparison to the previous test
--disable_ps2_protocol
FLUSH STATUS;
query_vertical SELECT * FROM INFORMATION_SCHEMA.PARAMETERS
WHERE CONCAT(SPECIFIC_SCHEMA) = 'i_s_parameters_test'
@ -338,6 +341,7 @@ query_vertical SELECT * FROM INFORMATION_SCHEMA.PARAMETERS
WHERE SPECIFIC_SCHEMA = 'i_s_parameters_test'
AND SPECIFIC_NAME = 'процедурка';
SHOW STATUS LIKE 'handler_read%next';
--enable_ps2_protocol
--replace_column 1 #
SELECT COUNT(*) FROM information_schema.PARAMETERS