• unknown's avatar
    Increased heap max length to > 4G for 64 bit machines · 129a48b0
    unknown authored
    Initialize key_part->type on open. This caused key_copy() to fail for bit_fields. (key_copy is used in HANDLER and opt_range)
    
    
    include/heap.h:
      Increased heap max length to > 4G for 64 bit machines
    mysql-test/r/show_check.result:
      Updated results after heap size change
    mysql-test/r/type_bit.result:
      Added test for bug in bit field handling (in handler and opt_range.cc)
    mysql-test/t/type_bit.test:
      Added test for bug in bit field handling (in handler and opt_range.cc)
    sql/ha_heap.cc:
      Increased heap max length to > 4G for 64 bit machines
    sql/item_sum.cc:
      Increased heap max length to > 4G for 64 bit machines
    sql/mysqld.cc:
      Increased heap max length to > 4G for 64 bit machines
    sql/set_var.cc:
      Increased heap max length to > 4G for 64 bit machines
    sql/sql_class.h:
      Increased heap max length to > 4G for 64 bit machines
    sql/sql_select.cc:
      Increased heap max length to > 4G for 64 bit machines
    sql/table.cc:
      Initialize key_part->type ; This was used for bit fields but only set in temporary tables
    sql/uniques.cc:
      Increased heap max length to > 4G for 64 bit machines
    129a48b0
set_var.cc 117 KB