fix: store raw objname internally (#2719)

* fix: store raw objname internally

Signed-off-by: tison <wander4096@gmail.com>

* add a utility

Signed-off-by: tison <wander4096@gmail.com>

* add a sqlness test case

Signed-off-by: tison <wander4096@gmail.com>

* cargo clippy

Signed-off-by: tison <wander4096@gmail.com>

---------

Signed-off-by: tison <wander4096@gmail.com>
This commit is contained in:
tison
2023-11-10 10:56:30 +08:00
committed by GitHub
parent af7107565a
commit 8fd0766754
7 changed files with 59 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
create database illegal-database;
Error: 1001(Unsupported), SQL statement is not supported: create database illegal-database;, keyword: -
create database 'illegal-database';
Affected Rows: 1
show databases;
+--------------------+
| Schemas |
+--------------------+
| illegal-database |
| information_schema |
| public |
| test_public_schema |
+--------------------+