Files
greptimedb/tests/cases/standalone/common/create/create_database.result
dennis zhuang 4306cba866 feat: show database options (#4174)
* test: test create table with database ttl

* feat: show database options

* fix: comment

* chore: apply suggestion

Co-authored-by: Jeremyhi <jiachun_feng@proton.me>

* chore: fix CR comments and refactor

* chore: style

Co-authored-by: Weny Xu <wenymedia@gmail.com>

---------

Co-authored-by: Jeremyhi <jiachun_feng@proton.me>
Co-authored-by: Weny Xu <wenymedia@gmail.com>
2024-06-20 04:21:58 +00:00

28 lines
571 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

create database '㊙database';
Error: 1002(Unexpected), Unexpected, violated: Invalid database name: ㊙database
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;
+--------------------+
| Database |
+--------------------+
| greptime_private |
| illegal-database |
| information_schema |
| public |
+--------------------+
drop database 'illegal-database';
Affected Rows: 0