mariadb/libmysqld
Alexey Botchkov 3886c3a46d Bug#53251 mysql_library_init fails on second execution with embedded library
thread-specific variables weren't set when we load error message files.

per-file comments:
  libmysqld/lib_sql.cc
Bug#53251      mysql_library_init fails on second execution with embedded library
      we need to call my_thread_init() once more. Normally it's called at the my_init()
      stage but that doesn't happen on the second my_init() call.

  sql/derror.cc
Bug#53251      mysql_library_init fails on second execution with embedded library
     use default errors for the embedded server.

  sql/mysqld.cc
Bug#53251      mysql_library_init fails on second execution with embedded library
        unregister server errors in clean_up(). Without it the error list contains
        that on the second mysql_server_init() which is not good.

  sql/set_var.cc
Bug#53251      mysql_library_init fails on second execution with embedded library
        sys_var::cleanup() call instead of the destructor

  sql/set_var.h
Bug#53251      mysql_library_init fails on second execution with embedded library
        sys_var::cleanup() introduced instead of the destructor
        
  sql/sys_vars.h
Bug#53251      mysql_library_init fails on second execution with embedded library
        Sys_var_charptr::cleanup() implemented
2010-09-02 23:37:04 +05:00
..
examples Patch for Bug#55854 (MySQL AB should not be AUTHOR, copyright incorrect). 2010-08-12 19:19:57 +04:00
CMakeLists.txt Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
copyright Added all changes from old 4.0 version: 2001-04-11 13:04:03 +02:00
emb_qcache.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
emb_qcache.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
embedded_priv.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
lib_sql.cc Bug#53251 mysql_library_init fails on second execution with embedded library 2010-09-02 23:37:04 +05:00
libmysqld.c WL#5486: Remove code for unsupported platforms 2010-07-15 08:16:06 -03:00
libmysqld.def Fix build error with CMake 2.8 (mysql_stmt_next_result not exported 2009-12-22 21:49:37 +01:00
libmysqld.rc query_id and my_xid -> ulonglong 2005-01-27 22:38:56 +01:00
Makefile.am Bug#54906 Inconsistent license of libmysqld 2010-09-01 08:38:53 +05:00
resource.h query_id and my_xid -> ulonglong 2005-01-27 22:38:56 +01:00