• unknown's avatar
    Always initialize THD::thread_stack: it's used in · 0633a41c
    unknown authored
    check_stack_overrun().
    
    
    sql/slave.cc:
      Move initialization of THD::thread_stack before THD::store_globals()
    sql/sql_acl.cc:
      Initialize THD::thread_stack in artificial THDs used
      to load gratns subsystem.
    sql/sql_class.cc:
      Add an assert that THD::thread_stack is assigned.
    sql/sql_insert.cc:
      Add initialization of THD::thread_stack (delayed insert
      thread).
    sql/sql_parse.cc:
      Move initialization of THD::thread_stack before
      THD::store_globals().
    sql/sql_udf.cc:
      Add initialization for THD::thread_stack (an artificial
      THD used to initialize UDF subsystem).
    sql/tztime.cc:
      Add initialization for THD::thread_stack (an artificial
      THD used to initialize timezones).
    0633a41c
sql_udf.cc 14 KB