1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-24 19:42:23 +03:00
Files
mariadb/mysql-test/suite/perfschema/r/lowercase_fs_off.result
Alexander Barkov 4c7cfd2624 MDEV-34817 perfschema.lowercase_fs_off fails on buildbot
I pushed this patch in a mistake to 11.7 instead of 11.6.
Backporting from 11.7.

This is a workaround patch to make buildbot green.

Renaming databases from db1/DB2 to m33020_db1/m33020_DB1
to make them unique. So the garbage left by other tests
does not show up any more.

The real problem will be fixed under terms of:
  MDEV-35282 Performance schema does not clear package routines
2024-10-30 13:47:19 +04:00

23 lines
912 B
Plaintext

#
# MDEV-33020 The database part is not case sensitive in SP names in PERFORMANCE_SCHEMA
#
CREATE OR REPLACE DATABASE m33020_DB1;
CREATE OR REPLACE DATABASE m33020_db1;
CREATE PROCEDURE m33020_DB1.sp() SELECT 'This is m33020_DB1.sp';
CREATE PROCEDURE m33020_db1.sp() SELECT 'This is m33020_db1.sp';
CALL m33020_DB1.sp();
This is m33020_DB1.sp
This is m33020_DB1.sp
CREATE PROCEDURE m33020_DB1.sp2() SELECT 'This is m33020_DB1.sp2';
CALL m33020_db1.sp();
This is m33020_db1.sp
This is m33020_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)='m33020_db1';
object_type object_schema object_name count_star count_statements sum_rows_sent
PROCEDURE m33020_DB1 sp 1 1 1
PROCEDURE m33020_db1 sp 1 1 1
DROP DATABASE m33020_db1;
DROP DATABASE m33020_DB1;