ClickHouse/tests/queries/0_stateless/00716_allow_ddl.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

9 lines
335 B
SQL
Executable File

SET send_logs_level = 'none';
SET allow_ddl = 0;
CREATE DATABASE some_db; -- { serverError 392 }
CREATE TABLE some_table(a Int32) ENGINE = Memory; -- { serverError 392}
ALTER TABLE some_table DELETE WHERE 1; -- { serverError 392}
RENAME TABLE some_table TO some_table1; -- { serverError 392}
SET allow_ddl = 1; -- { serverError 392}