1. 10 May, 2006 16 commits
  2. 09 May, 2006 8 commits
    • unknown's avatar
      fix HA_ERR_RECORD_DELETED for falcon · 459a8927
      unknown authored
      459a8927
    • unknown's avatar
      Merge mysql.com:/home/kgeorge/mysql/5.0/B18068 · b4e093e2
      unknown authored
      into  mysql.com:/home/kgeorge/mysql/5.1/B18068
      
      
      sql/sql_select.cc:
        Auto merged
      b4e093e2
    • unknown's avatar
      results fixed · 854e1fea
      unknown authored
      854e1fea
    • unknown's avatar
      BUG#18068: SELECT DISTINCT (with duplicates and covering index) · 52ae8e1e
      unknown authored
      When converting DISTINCT to GROUP BY where the columns are from the covering
      index and they are quoted twice in the SELECT list the optimizer is creating
      improper processing sequence. This is because of the fact that the columns
      of the covering index are not recognized as such and treated as non-index
      columns.
      
      Generally speaking duplicate columns can safely be removed from the GROUP
      BY/DISTINCT list because this will not add or remove new rows in the
      resulting set. Duplicates can be removed even if they are not consecutive
      (as is the case for ORDER BY, where the duplicate columns can be removed
      only if they are consecutive).
      
      So we can safely transform "SELECT DISTINCT a,a FROM ... ORDER BY a" to
      "SELECT a,a FROM ... GROUP BY a ORDER BY a" instead of 
      "SELECT a,a FROM .. GROUP BY a,a ORDER BY a". We can even transform 
      "SELECT DISTINCT a,b,a FROM ... ORDER BY a,b" to
      "SELECT a,b,a FROM ... GROUP BY a,b ORDER BY a,b".
      
      The fix to this bug consists of checking for duplicate columns in the SELECT
      list when constructing the GROUP BY list in transforming DISTINCT to GROUP
      BY and skipping the ones that are already in.
      
      
      mysql-test/r/distinct.result:
        test case for the bug without loose index scan
      mysql-test/r/group_min_max.result:
        test case for the bug
      mysql-test/t/distinct.test:
        test case for the bug without loose index scan
      mysql-test/t/group_min_max.test:
        test case for the bug
      sql/sql_select.cc:
        duplicates check and removal
      52ae8e1e
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · ee67140c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      ee67140c
    • unknown's avatar
      Fix InnoDB building on MacOSX when autorun.sh is used · 861bd436
      unknown authored
      
      BUILD/autorun.sh:
        Add libtoolize/glibtoolize hook for InnoDB auto-stuff too
      861bd436
    • unknown's avatar
      5a0af764
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · bf7393fc
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      bf7393fc
  3. 08 May, 2006 13 commits
  4. 06 May, 2006 3 commits