mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-03 03:42:54 +00:00
* fix: table resolving logic related to pg_catalog refer to https://github.com/GreptimeTeam/greptimedb/issues/3560#issuecomment-2287794348 and #4543 * refactor: remove CatalogProtocol type * fix: sqlness * fix: forbid create database pg_catalog with mysql client * refactor: use QueryContext as arguments rather than Channel * refactor: pass None as default behaviour in information_schema * test: fix test
28 lines
536 B
Plaintext
28 lines
536 B
Plaintext
create database '㊙️database';
|
||
|
||
Error: 1002(Unexpected), Unexpected, violated: Invalid database name: ㊙️database
|
||
|
||
create database illegal-database;
|
||
|
||
Error: 1001(Unsupported), SQL statement is not supported, keyword: -
|
||
|
||
create database 'illegal-database';
|
||
|
||
Affected Rows: 1
|
||
|
||
show databases;
|
||
|
||
+--------------------+
|
||
| Database |
|
||
+--------------------+
|
||
| greptime_private |
|
||
| illegal-database |
|
||
| information_schema |
|
||
| public |
|
||
+--------------------+
|
||
|
||
drop database 'illegal-database';
|
||
|
||
Affected Rows: 0
|
||
|