1. 14 Aug, 2006 1 commit
    • gkodinov/kgeorge@macbook.gmz's avatar
      Bug #21302: Result not properly sorted when using an ORDER BY on a second · 2d9aa1e6
      gkodinov/kgeorge@macbook.gmz authored
                   table in a join
       The optimizer removes redundant columns in ORDER BY. It is considering 
      redundant every reference to const table column, e.g b in :
      create table t1 (a int, b int, primary key(a)); 
      select 1 from t1 order by b where a = 1
      
      But it must not remove references to const table columns if the 
      const table is an outer table because there still can be 2 values :
      the const value and NULL. e.g.:
      create table t1 (a int, b int, primary key(a));
      select t2.b c from t1 left join t1 t2 on (t1.a = t2.a and t2.a = 5) 
        order by c;
      2d9aa1e6
  2. 02 Aug, 2006 11 commits
  3. 01 Aug, 2006 9 commits
  4. 31 Jul, 2006 10 commits
  5. 30 Jul, 2006 1 commit
  6. 29 Jul, 2006 7 commits
  7. 28 Jul, 2006 1 commit