db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Zaun (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2255) ij should indicate that it is waiting for more input in a multi-line interactive statement.
Date Wed, 16 Apr 2008 21:07:21 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589731#action_12589731

Martin Zaun commented on DERBY-2255:

I noticed that the continutation marker is not shown when just hitting Enter (or any whitespace
followed by Enter) until a semicolon terminates the "query":

ij version 10.5


Contrast this with the Bash shell's behaviour, which shows a marker as long as the line's
being continued:

MD@sunny ~/derby/trunk
$  \
>  \
>  \

My preference: ij should display a continuation marker until the terminating semicolon, regardless
of what's been typed so far or not.


> ij should indicate that it is waiting for more input in a multi-line interactive statement.
> -------------------------------------------------------------------------------------------
>                 Key: DERBY-2255
>                 URL: https://issues.apache.org/jira/browse/DERBY-2255
>             Project: Derby
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions:
>            Reporter: Anders Morken
>            Assignee: Anders Morken
>            Priority: Trivial
>             Fix For:
>         Attachments: DERBY-2255-1.diff, DERBY-2255-2.diff, derby-2255-3.diff, DERBY-2255_4.diff,
> Many users have been confused by the lack of response from ij when they forget to end
a statement with a semicolon, and believe that Derby is taking its sweet time answering their
query, while ij is simply waiting for more input.
> This issue tries to address this by adding a short "> " prompt to the next line after
a newline has been entered by the user without ending the statement with a semicolon.

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

View raw message