Details
Description
I start MariaDB with lower-case-table-names=0 and run this script:
CREATE DATABASE DB1; |
CREATE 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 DB1.sp |
|
+----------------+
|
| This is DB1.sp |
|
+----------------+
|
So far so good. The first procedure DB1 works fine.
Now I call the second procedure db1.
CALL db1.sp();
|
+----------------+
|
| This is DB1.sp |
|
+----------------+
|
| This is DB1.sp |
|
+----------------+
|
Notice, it erroneously called the first procedure DB1.
Attachments
Issue Links
- relates to
-
MDEV-31531 Remove my_casedn_str() and my_caseup_str()
- Closed
-
MDEV-33020 The database part is not case sensitive in SP names in PERFORMANCE_SCHEMA
- Open