mariadb/include
Magne Mahre c4715a8076 Bug#11765237 - 58179: CANNOT START MYSQLD WITH APP VERIFIER
Bug#11763065 - 55730: KILL_SERVER() CALLS SETEVENT ON A NULL 
               HANDLE, SMEM_EVENT_CONNECT_REQUEST
      
Application Verifier is a Microsoft tool used for
detecting certain classes of programming errors.
In particular, MS Windows OS resource usage is
monitored for wrong usage (handles, thread local
storage, critical sections, ...)
      
In MySQL 5.5.x, an error was introduced where an
object on thread local storage was used before the
TLS and the object was created.
      
The fix has been to move the mysys initialization
to an earlier stage in the boot process when built for
Windows.  For non-win builds, the init already happens
early.

Some un-tangling of calls to my_init(), my_basic_init()
and my_thread_global_init() was done.  There is no
longer a need to do init in steps, so the full my_init()
is called instead of my_init_basic().
      
In addition,  Bug#11763065 was fixed.  The event handle
'smem_event_connect_request' is only created if
'opt_enable_shared_memory' is set.  When killing the
server, an event was flagged on the handle
unconditionally.  Added a test, so it will only be
flagged if created.


include/my_pthread.h:
  my_thread_basic_global_init is no longer
  necessary, and the my_thread_basic_global_reinit 
  function is renamed to reflect that it now
  reinits mutexes and condvars originating from
  my_thread_global_init
mysys/my_thr_init.c:
  Reorganized code.
2011-03-01 13:03:31 +01:00
..
atomic
mysql Merge mysql-5.5-bugteam -> mysql-5.5-innodb 2010-12-27 19:24:05 +02:00
base64.h
CMakeLists.txt Remove configuration preprocessor symbols 'THREAD' 2011-01-11 10:07:37 +01:00
decimal.h
errmsg.h
ft_global.h
hash.h
heap.h Remove configuration preprocessor symbols 'THREAD' 2011-01-11 10:07:37 +01:00
keycache.h
lf.h
m_ctype.h Merging patch for BUG#58246 into mysql-5.5-bugteam. 2010-12-01 23:15:14 +01:00
m_string.h
my_aes.h
my_alarm.h
my_alloc.h
my_atomic.h
my_attribute.h
my_base.h Remove configuration preprocessor symbols 'THREAD' 2011-01-11 10:07:37 +01:00
my_bit.h Merge from mysql-5.1 to mysql-5.5 2011-02-16 16:33:02 +01:00
my_bitmap.h Merge from mysql-5.1 to mysql-5.5 2011-02-16 16:33:02 +01:00
my_compiler.h
my_dbug.h Automerge 5.1-bugteam => 5.5-bugteam 2010-12-13 17:13:31 +01:00
my_dir.h
my_getopt.h
my_global.h Remove last traces of HAVE_NDBCLUSTER_DB define - it has not had an effect in a long time and is just confusing. 2011-02-21 11:15:29 +01:00
my_handler.h Merge 2010-12-29 01:26:31 +01:00
my_libwrap.h
my_list.h
my_md5.h
my_net.h
my_nosys.h
my_pthread.h Bug#11765237 - 58179: CANNOT START MYSQLD WITH APP VERIFIER 2011-03-01 13:03:31 +01:00
my_rdtsc.h
my_stacktrace.h
my_sys.h Bug#11765237 - 58179: CANNOT START MYSQLD WITH APP VERIFIER 2011-03-01 13:03:31 +01:00
my_time.h merge 2011-02-02 20:13:28 +02:00
my_tree.h
my_uctype.h
my_user.h
my_xml.h
myisam.h Remove configuration preprocessor symbols 'THREAD' 2011-01-11 10:07:37 +01:00
myisammrg.h
myisampack.h
mysql.h
mysql.h.pp
mysql_com.h Merge 2010-12-29 01:26:31 +01:00
mysql_embed.h Remove last traces of HAVE_NDBCLUSTER_DB define - it has not had an effect in a long time and is just confusing. 2011-02-21 11:15:29 +01:00
mysql_time.h
mysql_version.h.in
mysys_err.h Manual merge with mysql-5.1-bugteam. 2010-12-09 13:49:11 +03:00
password.h
probes_mysql.d.base
probes_mysql.h
probes_mysql_nodtrace.h
queues.h
rijndael.h
service_versions.h
sha1.h
sha2.h
sql_common.h
sslopt-case.h
sslopt-longopts.h
sslopt-vars.h
t_ctype.h
thr_alarm.h Remove configuration preprocessor symbols 'THREAD' 2011-01-11 10:07:37 +01:00
thr_lock.h
typelib.h
violite.h
welcome_copyright_notice.h