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 Bug#56760: my_atomics failures on osx10.5-x86-64bit 2010-11-30 21:19:49 -02:00
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 WL#1054: Pluggable authentication support 2010-08-09 11:32:50 +03:00
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 WL#5665: Removal of the autotools-based build system 2010-11-20 20:56:09 -02:00
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 Bug#58057: 5.1 libmysql/libmysql.c unused variable/compile failure 2010-11-10 19:14:47 -02:00
my_dbug.h Automerge 5.1-bugteam => 5.5-bugteam 2010-12-13 17:13:31 +01:00
my_dir.h
my_getopt.h Bug#54569 Some options are not allowed to take argument when passed with loose- prefix 2010-10-25 14:30:07 +02:00
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 Merge of mysql-5.1-bugteam into mysql-5.5-bugteam. 2010-11-30 17:06:53 -02:00
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 WL#5665: Removal of the autotools-based build system 2010-11-20 20:56:09 -02:00
mysql.h.pp merge 2010-10-04 15:42:16 +03:00
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 merge 2010-10-05 17:27:18 +03:00
sha2.h
sql_common.h WL#1054: Pluggable authentication support 2010-08-09 11:32:50 +03:00
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 Merging with mysql-5.5-stage. 2010-08-16 14:50:27 +02:00
typelib.h
violite.h
welcome_copyright_notice.h Fix for Bug#57094 (Copyright notice incorrect?). 2010-10-06 19:06:13 +04:00