Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2785

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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).

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: