[
https://issues.apache.org/jira/browse/DERBY-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465998
]
John H. Embretsen commented on DERBY-2255:
------------------------------------------
I tried the patch on Windows XP. I get two continuation "prompts" instead of
one:
ij version 10.3
ij> connect 'jdbc:derby:mydb;create=true';
ij> create table test
> > (a int);
0 rows inserted/updated/deleted
ij> create table
> > test2
> > (b int);
0 rows inserted/updated/deleted
ij>
But it is still useful :)
> 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
> Assigned To: Anders Morken
> Priority: Trivial
> Attachments: DERBY-2255-1.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.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira