• Michael Widenius's avatar
    Changed the client library to only mark memory as THREAD_SPECIFIC if one has called · 8b714e50
    Michael Widenius authored
    mysql_options() with MYSQL_OPT_USE_THREAD_SPECIFIC_MEMORY
    
    include/mysql.h:
      Added MYSQL_OPT_USE_THREAD_SPECIFIC_MEMORY
    include/mysql.h.pp:
      Updated file
    sql-common/client.c:
      Marked client memory as THREAD_SPECIFIC
    sql/event_db_repository.cc:
      Fixed compiler warning
    sql/slave.cc:
      Marked client memory as THREAD_SPECIFIC
    storage/federatedx/federatedx_io_mysql.cc:
      Marked client memory as THREAD_SPECIFIC
    storage/federatedx/ha_federatedx.cc:
      Marked client memory as THREAD_SPECIFIC
    storage/sphinx/ha_sphinx.cc:
      Marked client memory as THREAD_SPECIFIC
    8b714e50
slave.cc 202 KB