Skip to content

Commit

Permalink
add sqlness test
Browse files Browse the repository at this point in the history
  • Loading branch information
QuenKar committed Dec 5, 2023
1 parent 18b6dbc commit aa4edaa
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/cases/standalone/common/create/create_database.result
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,22 @@ show databases;
| public |
+--------------------+

use monitor;

Affected Rows: 0

create table cpus(
id int,
ts timestamp time index,
);

Affected Rows: 0

show tables;

+--------+
| Tables |
+--------+
| cpus |
+--------+

9 changes: 9 additions & 0 deletions tests/cases/standalone/common/create/create_database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@ create database monitor;
create database if not exists monitor;

show databases;

use monitor;

create table cpus(
id int,
ts timestamp time index,
);

show tables;

0 comments on commit aa4edaa

Please sign in to comment.