提交 1d9ad887 编写于 作者: T Thomas G. Lockhart

Explicitly test various comment syntaxes.

上级 c407a387
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)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册