Derby
  1. Derby
  2. DERBY-1433

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major 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.

      1. cursor.java
        1.0 kB
        Knut Anders Hatlen

        Activity

        Knut Anders Hatlen created issue -
        Knut Anders Hatlen made changes -
        Field Original Value New Value
        Attachment cursor.java [ 12335705 ]
        Rick Hillegas made changes -
        Urgency Normal
        Rick Hillegas made changes -
        Fix Version/s 10.2.2.0 [ 12312027 ]
        Fix Version/s 10.2.1.0 [ 11187 ]
        Bernt M. Johnsen made changes -
        Assignee Bernt M. Johnsen [ bernt ]
        Rick Hillegas made changes -
        Fix Version/s 10.2.2.0 [ 12312027 ]
        Bernt M. Johnsen made changes -
        Assignee Bernt M. Johnsen [ bernt ]
        Kathey Marsden made changes -
        Derby Categories [High Value Fix]
        Dag H. Wanvik made changes -
        Issue & fix info [High Value Fix]
        Kathey Marsden made changes -
        Labels derby_triage10_5_2
        Kathey Marsden made changes -
        Labels derby_triage10_5_2 derby_triage10_9
        Kathey Marsden made changes -
        Issue & fix info High Value Fix [ 10422 ]
        Gavin made changes -
        Workflow jira [ 12374171 ] Default workflow, editable Closed status [ 12802008 ]

          People

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

            Dates

            • Created:
              Updated:

              Development