# # Specific tests for case sensitive file systems # i.e. lower_case_filesystem=OFF # --source include/have_case_sensitive_file_system.inc --source include/have_perfschema.inc --source include/not_embedded.inc --echo # --echo # MDEV-33020 The database part is not case sensitive in SP names in PERFORMANCE_SCHEMA --echo # CREATE OR REPLACE DATABASE DB1; CREATE OR REPLACE DATABASE db1; CREATE PROCEDURE DB1.sp() SELECT 'This is DB1.sp'; CREATE PROCEDURE db1.sp() SELECT 'This is db1.sp'; CALL DB1.sp(); # This is needed to reset the SP cache (a MDEV-33019 workaround) CREATE PROCEDURE DB1.sp2() SELECT 'This is DB1.sp2'; CALL db1.sp(); SELECT object_type, object_schema, object_name, count_star, count_statements, sum_rows_sent FROM performance_schema.events_statements_summary_by_program WHERE object_type='procedure' AND LOWER(object_schema)='db1'; DROP DATABASE db1; DROP DATABASE DB1;