db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3241) No syntax error when compiling statement with unterminated comment
Date Mon, 03 Dec 2007 12:33:54 GMT

    [ 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.


Mime
View raw message