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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.2.2.0
    • 10.7.1.1
    • Tools
    • None
    • OS-X, Java 1.5
    • Normal
    • 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
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        2. caidentifier.diff
          1 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        3. Derby-2785.diff
          0.8 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        4. test.out
          2 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        5. derby.log
          6 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        6. junitAll.out
          16 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        7. caidentifier.diff
          0.8 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        8. junitAll.out
          16 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        9. derbyall_report.txt
          3 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        10. derbyall_report.txt
          14 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        11. caidentifier.diff
          0.8 kB
          Bryan Pendleton
        12. derby-2785.diff
          1 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        13. derby-2785.diff
          1 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        14. derby-2785.diff
          0.8 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
        15. describeKeywords.diff
          0.7 kB
          Bryan Pendleton
        16. step logs.txt
          10 kB
          Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara

        Activity

          People

            eranda Weerasekara Mudiyanselage Eranda Mahesh Sooriyabandara
            hallorant Tim Halloran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: