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

Infinite loop in PredicateList.joinClauseTransitiveClosure()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.0.2.1, 10.1.3.1, 10.2.2.0, 10.3.3.0, 10.4.2.0, 10.5.3.0, 10.6.1.0
    • 10.5.3.1, 10.6.1.0
    • SQL
    • None
    • High Value Fix, Repro attached
    • Crash

    Description

      This sequence of statements triggers an infinite loop in PredicateList.joinClauseTransitiveClosure() and never completes:

      create table c (a int, b int, c int);
      create table cc (aa int);

      select * from cc t1, c t2, cc t3 where t3.aa = t2.a and t3.aa = t2.b and t3.aa = t2.c;

      Attachments

        1. derby-4387.stat
          0.2 kB
          Dag H. Wanvik
        2. derby-4387.diff
          3 kB
          Dag H. Wanvik

        Issue Links

          Activity

            People

              dagw Dag H. Wanvik
              knutanders Knut Anders Hatlen
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: