Files
greptimedb/tests/cases/standalone/common/information_schema/tables.sql
Yohan Wal c4db9e8aa7 fix!: forbid to change information_schema (#4233)
* fix: forbid to change tables in information_schema

* refactor: use unified read-only check function

* test: add more sqlness tests for information_schema

* refactor: move is_readonly_schema to common_catalog
2024-07-03 03:09:23 +00:00

38 lines
605 B
SQL

create schema abc;
use abc;
create table t (ts timestamp time index);
create schema abcde;
use abcde;
create table t (ts timestamp time index);
select table_catalog, table_schema, table_name from information_schema.tables where table_schema != 'information_schema';
use public;
drop schema abc;
drop schema abcde;
drop schema information_schema;
use information_schema;
create table t (ts timestamp time index);
drop table build_info;
alter table build_info add q string;
truncate table build_info;
insert into build_info values ("", "", "", "", "");
delete from build_info;
use public;