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

Bryan Pendleton updated DERBY-3408:
-----------------------------------

    Attachment: suggestServerDocsToo.diff

Attached is a revised patch with an expanded suggestion message. The new output 
is as follows:

-bash-2.05b$ java org.apache.derby.tools.ij
ij version 10.5
ij> connect 'jdbc:derby:brydb;create=true';
ij> show;
ERROR 42X01: Syntax error: Encountered "show" at line 1, column 1.
Issue the 'help' command for general information on IJ command syntax. Any 
unrecognized commands are treated as potential SQL commands and executed 
directly. Consult your DBMS server reference documentation for details of the 
SQL syntax supported by your server.


> Wrong message when using SHOW in ij.
> ------------------------------------
>
>                 Key: DERBY-3408
>                 URL: https://issues.apache.org/jira/browse/DERBY-3408
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Jazarine Jamal
>            Assignee: Bryan Pendleton
>            Priority: Minor
>         Attachments: suggestHelp.diff, suggestServerDocsToo.diff
>
>
> When running the show command using ij, it gives out a wrong message.
> eg.:
> ij> show schema;
> ERROR 42X01: Syntax error: Encountered "show" at line 2, column 1.
> The message should be something like:
> Syntax error: Encountered "schema" at line 2,column 1:no such thing as 
> "schema"

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

Reply via email to