Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4, 10.5.3.0, 10.6.1.0
    • Fix Version/s: 10.3.3.1, 10.4.2.1, 10.5.3.1, 10.6.1.0
    • Component/s: SQL
    • Labels:
      None
    • Issue & fix info:
      Repro attached
    • Bug behavior facts:
      Regression

      Description

      On Derby 10.3.1.4 and later, I see that evaluating the statements below in ij apparently makes Derby go into an infinite loop. The select statement ran for two hours until I aborted it. I do not see this problem on Derby 10.2.2.0 or earlier.

      ij> create table t(x int primary key);
      0 rows inserted/updated/deleted
      ij> prepare ps as 'select * from t where x=? or x=?';
      ij> execute ps using 'values (cast(null as int), 0)';
      IJ WARNING: Autocommit may close using result set
      X
      -----------

      1. derby-4376-1a.stat
        0.3 kB
        Knut Anders Hatlen
      2. derby-4376-1a.diff
        16 kB
        Knut Anders Hatlen

        Issue Links

          Activity

          Knut Anders Hatlen created issue -
          Knut Anders Hatlen made changes -
          Field Original Value New Value
          Link This issue relates to DERBY-47 [ DERBY-47 ]
          Knut Anders Hatlen made changes -
          Assignee Knut Anders Hatlen [ knutanders ]
          Knut Anders Hatlen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Knut Anders Hatlen made changes -
          Attachment derby-4376-1a.diff [ 12419782 ]
          Attachment derby-4376-1a.stat [ 12419783 ]
          Knut Anders Hatlen made changes -
          Link This issue relates to DERBY-4378 [ DERBY-4378 ]
          Knut Anders Hatlen made changes -
          Issue & fix info [Repro attached] [Patch Available, Repro attached]
          Knut Anders Hatlen made changes -
          Fix Version/s 10.6.0.0 [ 12313727 ]
          Issue & fix info [Repro attached, Patch Available] [Repro attached]
          Knut Anders Hatlen made changes -
          Status In Progress [ 3 ] Closed [ 6 ]
          Fix Version/s 10.5.3.1 [ 12314182 ]
          Resolution Fixed [ 1 ]
          Mamta A. Satoor made changes -
          Fix Version/s 10.4.2.1 [ 12313401 ]
          Mamta A. Satoor made changes -
          Fix Version/s 10.3.3.1 [ 12313143 ]
          Knut Anders Hatlen made changes -
          Link This issue is related to ODE-671 [ ODE-671 ]
          Knut Anders Hatlen made changes -
          Link This issue is duplicated by DERBY-4644 [ DERBY-4644 ]
          Gavin made changes -
          Workflow jira [ 12476995 ] Default workflow, editable Closed status [ 12799653 ]

            People

            • Assignee:
              Knut Anders Hatlen
              Reporter:
              Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development