Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
10.3.13
-
None
Description
Preconditions: MariaDB 10.3.13 is installed from box.
Only information_schema, mysql and performance_schema are available after installation. No user databases are present.
All actions are performed with the user root.
Steps to reproduce:
1. Run the command line and execute the command:
"C:\Program Files\MariaDB 10.3\bin\mysql.exe" -u root -proot
2. Execute the script (see attachment) with the command: source D:/Script.sql
After the script is executed, the db1 database will be created with one table and one package.
3. Execute the query: SHOW CREATE PACKAGE db1.pg_simple;
This behaviour is expected:
sql_mode=ORACLE includes the ANSI_QUOTES flag, which changes the meaning of strings in double quotes from string literal to identifier. With ANSI_QUOTES enabled all SHOW statements display identifiers with double quotes instead of backticks:
+-------+--------------------------------------------------+
| Table | Create Table |
+-------+--------------------------------------------------+
| t1 | CREATE TABLE "t1" (
"a" int(11) DEFAULT NULL
) |
+-------+--------------------------------------------------+