ClickHouse/dbms/tests/queries/0_stateless/00716_allow_ddl.sql

9 lines
355 B
MySQL
Raw Normal View History

2018-09-11 18:37:19 +00:00
SET send_logs_level = 'none';
SET allow_ddl = 0;
CREATE DATABASE some_db; -- { serverError 392 }
CREATE TABLE test.some_table(a Int32) ENGINE = Memory; -- { serverError 392}
ALTER TABLE test.some_table DELETE WHERE 1; -- { serverError 392}
RENAME TABLE test.some_table TO test.some_table1; -- { serverError 392}
SET allow_ddl = 1; -- { serverError 392}