• unknown's avatar
    Complete implementation of WL#1469 "Greedy algorithm to search for an optimal execution plan", · a51ba613
    unknown authored
    consisting of pos-review fixes and improvements.
    
    
    mysql-test/r/distinct.result:
      Adjusted to account for pre-sorting of tables before optimiziation.
    mysql-test/r/func_group.result:
      Adjusted to account for pre-sorting of tables before optimiziation.
    mysql-test/r/greedy_optimizer.result:
      - Adjusted to account for pre-sorting of tables before optimiziation.
      - Removed unnecessary test.
      - More comments.
    mysql-test/r/select.result:
      - Adjusted to account for pre-sorting of tables before optimiziation.
    mysql-test/t/greedy_optimizer.test:
      - Adjusted to account for pre-sorting of tables before optimiziation.
      - Removed unnecessary test.
      - More comments.
    sql/mysql_priv.h:
      Moved function print_plan() to sql_test.cc
    sql/sql_select.cc:
      - Simplified the recursion in best_extension_by_limited_search()
        and aligned it with its pseudo-code.
      - Renamed functions to better reflect their semantics.
      - Post-review changes of function specifications.
      - Moved function print_plan() to sql_test.cc.
    sql/sql_test.cc:
      Moved function print_plan() to sql_test.cc
    a51ba613
mysql_priv.h 44 KB