1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-29104 - fix test cases, for compilation without performance schema.

Fix test cases to remove hardcoded expected number for 'handler_next_read'
status variable. Apparently, number of rows in I_S.routines depends on
whether or not 'sys' schema is loaded, and this depends on whether or not
perfschema is compiled in.
This commit is contained in:
Vladislav Vaintroub
2022-10-22 01:18:00 +02:00
parent 50c5743adc
commit af59b677ea
4 changed files with 12 additions and 5 deletions

View File

@ -898,7 +898,7 @@ COLLATION_CONNECTION latin1_swedish_ci
DATABASE_COLLATION latin1_swedish_ci
SHOW STATUS LIKE 'handler_read%next';
Variable_name Value
Handler_read_next 54
Handler_read_next count_routines
Handler_read_rnd_next 2
#
# We cannot use the index due to CONCAT(), and filtering by ROUTINE_NAME
@ -910,7 +910,7 @@ WHERE CONCAT(ROUTINE_SCHEMA) = 'i_s_routines_test'
AND ROUTINE_NAME = 'not_existing_proc';
SHOW STATUS LIKE 'handler_read%next';
Variable_name Value
Handler_read_next 54
Handler_read_next count_routines
Handler_read_rnd_next 1
#
# Now the index must be used