Derby
  1. Derby
  2. DERBY-2785

ij "describe" built in command cannot describe a table named "run"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.2.0
    • Fix Version/s: 10.7.1.1
    • Component/s: Tools
    • Labels:
      None
    • Environment:
      OS-X, Java 1.5
    • Urgency:
      Normal
    • Issue & fix info:
      Newcomer, Repro attached

      Description

      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).

      1. caidentifier.diff
        3 kB
        Eranda Sooriyabandara
      2. caidentifier.diff
        1 kB
        Eranda Sooriyabandara
      3. caidentifier.diff
        0.8 kB
        Eranda Sooriyabandara
      4. caidentifier.diff
        0.8 kB
        Bryan Pendleton
      5. derby.log
        6 kB
        Eranda Sooriyabandara
      6. derby-2785.diff
        1 kB
        Eranda Sooriyabandara
      7. derby-2785.diff
        1 kB
        Eranda Sooriyabandara
      8. derby-2785.diff
        0.8 kB
        Eranda Sooriyabandara
      9. Derby-2785.diff
        0.8 kB
        Eranda Sooriyabandara
      10. derbyall_report.txt
        3 kB
        Eranda Sooriyabandara
      11. derbyall_report.txt
        14 kB
        Eranda Sooriyabandara
      12. describeKeywords.diff
        0.7 kB
        Bryan Pendleton
      13. junitAll.out
        16 kB
        Eranda Sooriyabandara
      14. junitAll.out
        16 kB
        Eranda Sooriyabandara
      15. step logs.txt
        10 kB
        Eranda Sooriyabandara
      16. test.out
        2 kB
        Eranda Sooriyabandara

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Eranda Sooriyabandara
            Reporter:
            Tim Halloran
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development