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

EOF ERROR WHEN FETCH FIRST ROW CALLED ON EMPTY TABLE.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 10.14.2.0, 10.15.1.3
    • None
    • None
    • None
    • Normal

    Description

      Using the embedded client on Intellij 2020.3.2.  But this is confirmed using the AutoloadedDriver in the derby JAR as well.

       

      CREATE EMPTY TABLE 

      CREATE A SELECT QUERY THAT USES FETCH FIRST ROW.

      [42X01][30000] Syntax error: Encountered "<EOF>" at line 1, column 99.

       

      The correct behaviour is returning an empty set.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Narimm Ben CHARLTON
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: