• Sergey Petrunia's avatar
    - Backport @@optimizer_switch support from 6.0 · cb6581d8
    Sergey Petrunia authored
    - Add support for setting it as a server commandline argument
    - Add support for those switches:
      = no_index_merge
      = no_index_merge_union
      = no_index_merge_sort_union
      = no_index_merge_intersection
    
    mysql-test/r/index_merge_myisam.result:
      Testcases for index_merge related @@optimizer_switch flags.
    mysql-test/t/index_merge_myisam.test:
      Testcases for index_merge related @@optimizer_switch flags.
    sql/set_var.cc:
      - Backport @@optimizer_switch support from 6.0
      - Add support for setting it as a server commandline argument
    sql/sql_class.h:
      - Backport @@optimizer_switch support from 6.0
    sql/sql_select.h:
      - Backport @@optimizer_switch support from 6.0
    cb6581d8
opt_range.cc 354 KB