You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2007/12/03 13:33:54 UTC

[jira] Commented: (DERBY-3241) No syntax error when compiling statement with unterminated comment

    [ https://issues.apache.org/jira/browse/DERBY-3241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547819 ] 

Knut Anders Hatlen commented on DERBY-3241:
-------------------------------------------

Thanks for the patch, James. It correctly makes the statement mentioned in the bug description fail. However, this statement still compiles without error:

ij> prepare p as 'values 1 /*';
ij> execute p;
1          
-----------
1          

1 row selected

> No syntax error when compiling statement with unterminated comment
> ------------------------------------------------------------------
>
>                 Key: DERBY-3241
>                 URL: https://issues.apache.org/jira/browse/DERBY-3241
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.4.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: James F. Adams
>            Priority: Minor
>         Attachments: Derby-3241.diff
>
>
> Compiling a statement with an unterminated comment doesn't raise a syntax error.
> ij> prepare p as 'values 1 /* unterminated comment ';
> ij> execute p;
> 1          
> -----------
> 1          
> 1 row selected

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.