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

Client driver does not handle string literals containing "where current of" correctly

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: None
    • Component/s: Network Client, SQL
    • Urgency:
      Normal

      Description

      If a string literal contains 'where current of something', the client driver tries to substitute 'something' with the corresponding cursor name on the server. This can lead to an exception being raised (no such cursor) or the string literal being modified. See attached repro.

      The bug is also present in JCC.

        Attachments

        1. cursor.java
          1.0 kB
          Knut Anders Hatlen

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: