[
https://issues.apache.org/jira/browse/DERBY-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eranda Sooriyabandara updated DERBY-2785:
-----------------------------------------
Attachment: caidentifier.diff
Hi Bryan,
Now that thing was solved and I added some test to the ij7. But it gave me the
following exception.
ij7(org.apache.derbyTesting.functionTests.tests.tools.ToolScripts)junit.framework.ComparisonFailure:
Output at line 113 expected:<[ij> DESCRIBE APP.t1;]> but
was:<[org.apache.derby.impl.tools.ij.ijException: No table exists with the name
T1]>
at
org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:106)
at
org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:198)
at
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
at
org.apache.derbyTesting.functionTests.tests.tools.ToolScripts.main(ToolScripts.java:101)
FAILURES!!!
Tests run: 1, Failures: 1, Errors: 0
> 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, caidentifier.diff, caidentifier.diff,
> Derby-2785.diff, derby-2785.diff, derby-2785.diff, derby-2785.diff,
> derby.log, derbyall_report.txt, derbyall_report.txt, describeKeywords.diff,
> junitAll.out, junitAll.out, step logs.txt, test.out
>
>
> 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.