ClickHouse/tests/queries/0_stateless/02988_ordinary_database_warning.sql
Nikita Mikhaylov ac2ead15a6 What else
2024-02-21 22:26:30 +00:00

11 lines
380 B
SQL

DROP DATABASE IF EXISTS 02988_ordinary;
SET send_logs_level = 'fatal';
SET allow_deprecated_database_ordinary = 1;
-- Creation of a database with Ordinary engine emits a warning.
CREATE DATABASE 02988_ordinary ENGINE=Ordinary;
SELECT DISTINCT 'Ok.' FROM system.warnings WHERE message ILIKE '%Ordinary%' and message ILIKE '%deprecated%';
DROP DATABASE IF EXISTS 02988_ordinary;