db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Issue Updated: (DERBY-2255) ij should indicate that it is waiting for more input in a multi-line interactive statement.
Date Mon, 28 May 2007 00:49:16 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Myrna van Lunteren updated DERBY-2255:
--------------------------------------

    issue.field.attachment: DERBY-2255_4.diff

I refreshed the patch (because various changes have gone in to utilMain since the last posting),
then tried the two versions of StatementFinder.readSingleLineComment (as per attachements
_2 and _3.diff).

But I found strange behavior with the code of _3.diff; a commented line, (i.e. starting with
--) followed by a return, would result in a line without a prompt.
Hitting return again, would give me a prompt again and I could go on...

When I used the code of _2.diff I saw no such problem; no 'getting stuck' in comment mode...

I have no access to a Mac, is there someone who does & can  reconfirm this patch?



> ij should indicate that it is waiting for more input in a multi-line interactive statement.
> -------------------------------------------------------------------------------------------
>
> common.concepts.key: DERBY-2255
> common.concepts.url: https://issues.apache.org/jira/browse/DERBY-2255
>common.concepts.project: Derby
>common.concepts.issuetype: Improvement
>common.concepts.components: Tools
>    Affects Versions: 10.2.2.0
>issue.field.reporter: Anders Morken
>issue.field.assignedto: Anders Morken
>issue.field.priority: Trivial
>         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.


Mime
View raw message