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] Commented: (DERBY-2785) ij "describe" built in command cannot describe a table named "run"
Date Thu, 29 Apr 2010 14:20:54 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862209#action_12862209
] 

Bryan Pendleton commented on DERBY-2785:
----------------------------------------

It looks like maybe you ran the derbyall tests in a "dirty" directory; that is,
a directory in which you had previously been running Derby tests?

If you run the derbyall tests again, with your classpath containing your
modified code, but the current directory set to a brand-new test directory,
are your test results any better?

You can also run the junit tests, in addition to the derbyall tests.

Here's the command I use to run all the tests, after I first 'cd' into a brand
new test directory, with my CLASSPATH all set up:

java org.apache.derbyTesting.functionTests.harness.RunSuite derbyall; java -Xmx512m -XX:MaxPermSize=128m
junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.All >junitAll.out
2>&1

> 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: 10.2.2.0
>         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,
derbyall_report.txt, 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.


Mime
View raw message