ClickHouse/tests/queries/0_stateless/02372_now_in_block.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
244 B
MySQL
Raw Normal View History

2022-07-24 18:05:31 +00:00
SELECT count() FROM (SELECT DISTINCT nowInBlock(), nowInBlock('Pacific/Pitcairn') FROM system.numbers LIMIT 2);
2022-07-24 18:07:14 +00:00
SELECT nowInBlock(1); -- { serverError 43 }
SELECT nowInBlock(NULL) IS NULL;
SELECT nowInBlock('UTC', 'UTC'); -- { serverError 42 }