mirror of
https://github.com/MariaDB/server.git
synced 2025-02-12 00:15:35 +01:00
a79f314f1b
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
22 lines
912 B
Text
22 lines
912 B
Text
#
|
|
# 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;
|