• Sergei Golubchik's avatar
    cleanup: · c71fad99
    Sergei Golubchik authored
    * don't use 'myf flags', when 'my_bool is_thread_specific' is meant
    * call set_malloc_size_cb() for embedded too
    * warn in safemalloc if the memory is freed by a wrong thread
    
    sql/mysqld.cc:
      move set_malloc_size_cb() to a function that is also called for embedded
    sql/mysqld.h:
      gdb-friendly, one can put breakpoint on a function, but not on a macro
    sql/sql_class.cc:
      initialize thread_id earlier
    c71fad99
mysys_priv.h 4.2 KB