ClickHouse/tests/queries/0_stateless/02816_has_token_empty.sql

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

12 lines
587 B
MySQL
Raw Normal View History

2023-07-16 22:12:37 +00:00
SELECT hasTokenCaseInsensitive('K(G', ''); -- { serverError BAD_ARGUMENTS }
SELECT hasTokenCaseInsensitive('Hello', ''); -- { serverError BAD_ARGUMENTS }
SELECT hasTokenCaseInsensitive('', ''); -- { serverError BAD_ARGUMENTS }
SELECT hasTokenCaseInsensitive('', 'Hello');
SELECT hasTokenCaseInsensitiveOrNull('Hello', '');
SELECT hasTokenCaseInsensitiveOrNull('', '');
2023-07-16 22:12:37 +00:00
SELECT hasToken('Hello', ''); -- { serverError BAD_ARGUMENTS }
SELECT hasToken('', 'Hello');
SELECT hasToken('', ''); -- { serverError BAD_ARGUMENTS }
SELECT hasTokenOrNull('', '');
SELECT hasTokenOrNull('Hello', '');