Skip to content
Snippets Groups Projects
Commit 1d9ad887 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart
Browse files

Explicitly test various comment syntaxes.

parent c407a387
No related branches found
No related tags found
No related merge requests found
QUERY: SELECT 'trailing' AS first;
first
--------
trailing
(1 row)
QUERY:
SELECT /* embedded single line */ 'embedded' AS second;
second
--------
embedded
(1 row)
QUERY: SELECT /* both embedded and trailing single line */ 'both' AS third;
third
-----
both
(1 row)
QUERY:
SELECT 'before multi-line' AS fourth;
fourth
-----------------
before multi-line
(1 row)
QUERY: /* This is an example of SQL which should not execute:
* select 'multi-line';
*/
SELECT 'after multi-line' AS fifth;
fifth
----------------
after multi-line
(1 row)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment