ClickHouse/tests/queries/0_stateless/02813_starting_in_text_log.sql

4 lines
196 B
SQL

SYSTEM FLUSH LOGS;
SET max_rows_to_read = 0; -- system.text_log can be really big
SELECT count() > 0 FROM system.text_log WHERE event_date >= yesterday() AND message LIKE '%Starting ClickHouse%';