• Michael Widenius's avatar
    Use less memory on stack in sql_parse.cc and in repair/check for MyISAM & Aria · 236141d4
    Michael Widenius authored
    sql/sql_parse.cc:
      Make some not commonly used functions with big local variables to separate functions to make default stack usage smaller.
      Decrease size of db_buff[] (Was bigger than needed)
      Allocate current_global_status_var with malloc().
    storage/maria/ha_maria.cc:
      Don't allocate HA_CHECK on stack (it's > 100K)
    storage/maria/ma_check.c:
      Removed duplicated code
    236141d4
ma_check.c 226 KB