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 "Martin Zaun (JIRA)" <ji...@apache.org> on 2008/04/16 23:07:21 UTC

[jira] Commented: (DERBY-2255) ij should indicate that it is waiting for more input in a multi-line interactive statement.

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

;
ij>

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.

Martin



> 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: 10.2.2.0
>            Reporter: Anders Morken
>            Assignee: Anders Morken
>            Priority: Trivial
>             Fix For: 10.4.0.0
>
>         Attachments: DERBY-2255-1.diff, DERBY-2255-2.diff, derby-2255-3.diff, DERBY-2255_4.diff, DERBY-2255_6.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.