summaryrefslogtreecommitdiff
path: root/include/mysql_embed.h
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-03-04 15:02:49 +0200
committerunknown <monty@narttu.mysql.fi>2003-03-04 15:02:49 +0200
commit6d1ab2314fe4dfacf25f6a8d05e48222c0aea01a (patch)
treeee527f25f2393fa96aeb607255dcd9bc16dac518 /include/mysql_embed.h
parent7e2aca564e765934ff352f3207a77600ab721771 (diff)
downloadmariadb-git-6d1ab2314fe4dfacf25f6a8d05e48222c0aea01a.tar.gz
Fix for using unitialized mutex when running version compiled with --debug
include/mysql_embed.h: Disable shared memory for embedded version libmysqld/lib_sql.cc: Fix for --debug version (init_thread_environment was called in wrong place) sql/log_event.h: Portability fix sql/mysqld.cc: Fix for --debug version (init_thread_environment was called in wrong place) sql/sql_parse.cc: Simply code cleanup
Diffstat (limited to 'include/mysql_embed.h')
-rw-r--r--include/mysql_embed.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mysql_embed.h b/include/mysql_embed.h
index bc75c3fbcb8..d48b0440660 100644
--- a/include/mysql_embed.h
+++ b/include/mysql_embed.h
@@ -25,6 +25,7 @@
#undef HAVE_OPENSSL
#undef HAVE_VIO
#undef HAVE_ISAM
+#undef HAVE_SMEM /* No shared memory */
#define DONT_USE_RAID