1. 31 Aug, 2009 1 commit
    • Sergey Petrunya's avatar
      MWL#17: Table-elimination · d762bf21
      Sergey Petrunya authored
      - Addressing review feedback, generation 4.
      
      include/my_global.h:
        Make ALIGN_PTR's action correspond to that of ALIGN_SIZE
      sql/item.cc:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      sql/item.h:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      sql/item_cmpfunc.cc:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      sql/item_subselect.cc:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      sql/item_subselect.h:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      sql/opt_table_elimination.cc:
        MWL#17: Table-elimination
        - Addressing review feedback, generation 4: abstract everything in case
          we would need to change it for something else in the future.
      sql/sql_list.h:
        MWL#17: Table-elimination
        - Introduce exchange_sort(List<T> ...) template function
      sql/sql_select.cc:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      d762bf21
  2. 26 Aug, 2009 1 commit
    • Sergey Petrunya's avatar
      MWL#17: Table elimination: · 005c24e9
      Sergey Petrunya authored
      - Fix a trivial problem when OR-merging two multi-equalities
      - Amend testsuite to provide full gcov coverage
      
      mysql-test/r/table_elim.result:
        MWL#17: Table elimination:
        - Amend testsuite to provide full gcov coverage
      mysql-test/t/table_elim.test:
        MWL#17: Table elimination:
        - Amend testsuite to provide full gcov coverage
      005c24e9
  3. 25 Aug, 2009 4 commits
    • Sergey Petrunya's avatar
      Gcov support improvements · c4834377
      Sergey Petrunya authored
      - add process-gcov-annotations.pl script that processes .gcov files 
        according to purecov annotations in source code
      - add --gcov-src-dir=subdir option to mysql-test-run so that one can
        do gcov processing only for source files in a certain directory.
      
      c4834377
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · 0e7a18e4
      Sergey Petrunya authored
      - Mark gcov deadcode
      
      0e7a18e4
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · de41681a
      Sergey Petrunya authored
      - More test coverage
      - Remove unused code
      
      de41681a
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · 9400700b
      Sergey Petrunya authored
      - Add more testcases.
      - Fix trivial compile failure
      - Remove handling of "column IN (one_element)". This is converted to equality 
        elsewhere
      
      mysql-test/r/table_elim.result:
        MWL#17: Table elimination
        - Add more testcases.
        - Fix trivial compile failure
      mysql-test/t/table_elim.test:
        MWL#17: Table elimination
        - Add more testcases
      sql/mysqld.cc:
        MWL#17: Table elimination
        - Fix trivial compile failure
      sql/opt_table_elimination.cc:
        MWL#17: Table elimination
        - Add more testcases.
        - Remove handling of "column IN (one_element)".This is converted to equality 
          elsewhere
      9400700b
  4. 24 Aug, 2009 2 commits
    • Sergey Petrunya's avatar
      MWL#17: Table elimination: last fixes · d294aae6
      Sergey Petrunya authored
      - Add an @@optimizer_switch flag for table_elimination for debug build
      - Better comments 
      
      mysql-test/t/index_merge_myisam.test:
        MWL#17: Table elimination: last fixes
        - Add an @@optimizer_switch flag for table_elimination for debug build
      sql/mysql_priv.h:
        MWL#17: Table elimination: last fixes
        - Add an @@optimizer_switch flag for table_elimination for debug build
      sql/mysqld.cc:
        MWL#17: Table elimination: last fixes
        - Add an @@optimizer_switch flag for table_elimination for debug build
      d294aae6
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · 21d25739
      Sergey Petrunya authored
      - Correctly handle the case where we have multi-table DELETE and a table
        that we're deleting from looks like it could be eliminated.
      
      21d25739
  5. 21 Aug, 2009 2 commits
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · f3d0b1c0
      Sergey Petrunya authored
      - Remove a piece of code that's not needed anymore.
      
      f3d0b1c0
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · 9c133680
      Sergey Petrunya authored
      - More testcases
      - Set correct dependencies for non-bound multi-equalities.
      
      mysql-test/r/table_elim.result:
        MWL#17: Table elimination
        - More testcases
      mysql-test/t/table_elim.test:
        MWL#17: Table elimination
        - More testcases
      sql/opt_table_elimination.cc:
        MWL#17: Table elimination
        - Set correct dependencies for non-bound multi-equalities.
      9c133680
  6. 20 Aug, 2009 1 commit
  7. 19 Aug, 2009 2 commits
  8. 18 Aug, 2009 4 commits
  9. 17 Aug, 2009 2 commits
  10. 16 Aug, 2009 6 commits
  11. 15 Aug, 2009 4 commits
  12. 13 Aug, 2009 6 commits
  13. 12 Aug, 2009 2 commits
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · b032c7d8
      Sergey Petrunya authored
      - Continue addressing review feedback: remove "unusable KEYUSEs" 
        extension as it is no longer needed.
      
      sql/item.h:
        MWL#17: Table elimination
        - Code cleanup
      sql/opt_table_elimination.cc:
        MWL#17: Table elimination
        - Code cleanup
      b032c7d8
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · 854bb82b
      Sergey Petrunya authored
      Address review feedback: 
      - Change from Wave-based approach (a-la const table detection) to 
        building and walking functional dependency graph.
      - Change from piggy-backing on ref-access code and KEYUSE structures
        to using our own expression analyzer.
      
      
      sql/item.cc:
        MWL#17: Table elimination
        - Move from C-ish Field_processor_info to C++ ish and generic Field_enumerator
      sql/item.h:
        MWL#17: Table elimination
        - Move from C-ish Field_processor_info to C++ ish and generic Field_enumerator
      sql/sql_bitmap.h:
        MWL#17: Table elimination
        - Backport of Table_map_iterator from 6.0
      854bb82b
  14. 05 Aug, 2009 1 commit
  15. 04 Aug, 2009 1 commit
  16. 03 Aug, 2009 1 commit