diff options
author | Jon Olav Hauglid <jon.hauglid@sun.com> | 2009-12-17 16:40:02 +0100 |
---|---|---|
committer | Jon Olav Hauglid <jon.hauglid@sun.com> | 2009-12-17 16:40:02 +0100 |
commit | a5beaf5cbfe2daf2a137e03922a8bf24889153a0 (patch) | |
tree | 9e12d0109c716f2226d019b51ef0c18568986285 /sql/mdl.cc | |
parent | 4315dc033ea5d7462cff454f6260498d47c88768 (diff) | |
download | mariadb-git-a5beaf5cbfe2daf2a137e03922a8bf24889153a0.tar.gz |
Partial backport of:
------------------------------------------------------------
revno: 2617.14.26
committer: Vladislav Vaintroub <vvaintroub@mysql.com>
branch nick: mysql-6.0-wtf
timestamp: Wed 2008-11-05 11:19:19 +0100
message:
CMakeLists.txt files cleanup.
- remove SAFEMALLOC and SAFE_MUTEX definitions that were
present in *each* CMakeLists.txt. Instead, put them into top level
MakeLists.txt, but disable on Windows, because
a) SAFEMALLOC does not add any functionality that is not already
present in Debug C runtime ( and 2 safe malloc one on top of the other
only unnecessarily slows down the server)
b)SAFE_MUTEX does not work on Windows and have been
explicitely disabled on Windows with #undef previously. Fortunately,
ntdll does pretty good job identifying l problems with CRITICAL_SECTIONs.
(DebugBreak()s on using uninited critical section, unlocking unowned
critical section)
-Remove occationally used -D_DEBUG (added by compiler
anyway)
-Remove MAP file generation, it became obsolete .
There are many ways to get callstack of a crash now, with stacktrace in
error log , minidump etc
Diffstat (limited to 'sql/mdl.cc')
0 files changed, 0 insertions, 0 deletions