db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2785) ij "describe" built in command cannot describe a table named "run"
Date Sun, 28 Mar 2010 18:36:27 GMT

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

Bryan Pendleton updated DERBY-2785:

    Attachment: caidentifier.diff

Hi Eranda,

I think your change to caIdentifier is working. Perhaps you had a build
problem when you tried it? I tried your change and it seemed to work
for me.

I modified the patch slightly, to fix the indentation, and to make sure
that the checks for DatabaseMetadata were done for both the keyword
and identifier cases, and have attached the revised patch as

Please try applying this patch and see if it works for you.

> ij "describe" built in command cannot describe a table named "run"
> ------------------------------------------------------------------
>                 Key: DERBY-2785
>                 URL: https://issues.apache.org/jira/browse/DERBY-2785
>             Project: Derby
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions:
>         Environment: OS-X, Java 1.5
>            Reporter: Tim Halloran
>            Assignee: Eranda Sooriyabandara
>            Priority: Minor
>         Attachments: caidentifier.diff, derby-2785.diff, derby-2785.diff, derby-2785.diff,
describeKeywords.diff, step logs.txt
> steps to duplicate:
> (attach ij to any database)
> ij> create table run (i int);
> 0 rows inserted/updated/deleted
> ij> desc run;
> ERROR 42X01: Syntax error: Encountered "desc" at line 1, column 1.
> ij> 
> I think this is a parser problem within ij where the "run" is taken as a token and that
token is not included in the definition of a tablename expression in the grammer (should be
an easy fix).

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

View raw message