mariadb/storage/innodb_plugin
Vladislav Vaintroub 0eae06c430 Bug#473914: mysql_client_test fail with in debug compilaton on windows x64
Reason: inconsistent compilation, federatedx is compiled without SAFEMALLOC
flag, while anything else is compiled with SAFEMALLOC.

As a consequence, my_hash_init used inside federatedx initialization does not
provide correct caller info parameters (file, line) , so they are initialized with 
whatever is on stack. When info about allocated memory is output in
COM_DEBUG command, the server crashes trying to output string starting at
0xcccccccccccccccc.

The fix is to remove SAFEMALLOC  preprocessor flags 
from every CMakeLists.txt, except the top-level one.

Also, SAFEMALLOC is not defined by default now, instead
there is WITH_DEBUG_FULL CMake option which adds 
-DSAFEMALLOC to C and C++ flags in debug compilation. 
This option is off by  default, because 
1) Debug C runtime already has heap debugging builtin with 
 overwrite and leak detection
2)safemalloc considerably slows down the tests.


Note also  that 
- SAFEMALLOC is gone  in MySQL5.5
- On Windows, heap related overflows can also be found using free pageheap utility
(that is also part of application verifier). This is even more efficient if there are no other layers 
on top of Windows heap allocator, e.g  it is most efficient with release version.
2010-12-06 12:52:06 +01:00
..
btr Bug #56680 wrong InnoDB results from a case-insensitive covering index 2010-10-19 09:04:15 +03:00
buf Bug #56680 wrong InnoDB results from a case-insensitive covering index 2010-10-19 09:04:15 +03:00
data dtuple_convert_big_rec(): Store locally any fields whose maximum length 2010-04-21 12:50:33 +03:00
dict Fix Bug #57616 Sig 11 in dict_load_table() when failed to load 2010-10-20 19:56:42 -07:00
dyn
eval Remove redundant variable 2010-09-15 18:03:24 +03:00
fil Bug #54658: InnoDB: Warning: allocated tablespace %lu, old maximum was 0 2010-06-21 12:40:08 +03:00
fsp fsp_init_file_page_low(): Zero out the page. (Bug #53306) 2010-05-04 16:09:17 +03:00
fut
ha Backport of revno 3148 mysql-innodb-trunk 2010-08-05 11:34:44 -04:00
handler Merge with MySQL 5.1.53 2010-11-25 00:57:34 +02:00
ibuf Bug #56680 wrong InnoDB results from a case-insensitive covering index 2010-10-19 09:04:15 +03:00
include Merge with MySQL 5.1.53 2010-11-25 00:57:34 +02:00
lock Bug#53674: InnoDB: Error: unlock row could not find a 4 mode lock on the record 2010-06-02 13:37:14 +03:00
log (partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6 2010-09-15 18:32:12 +03:00
mach
mem Fix bug #55581 by backporting fix of #52546 from mysql-trunk-innodb 2010-07-28 03:20:44 -07:00
mtr
mysql-test/patches Move the InnoDB Plugin tests from storage/innodb_plugin/mysql-test/ where 2010-04-09 15:56:51 +03:00
os Bug#52062: Compiler warning in os0file.c on windows 64-bit 2010-10-28 00:10:28 -05:00
page Fix Bug#47991 InnoDB Dictionary Cache memory usage increases indefinitely 2010-06-22 19:30:43 +03:00
pars
que (partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6 2010-09-15 18:35:59 +03:00
read
rem Merge a contribution from Ryan Mack at Facebook: 2010-05-05 15:39:01 +03:00
row merge to 5.1-security 2010-10-29 14:02:49 +03:00
scripts
srv Remove an unused counter variable in io_handler_thread(). 2010-10-14 04:19:52 -07:00
sync Bug#48197: Concurrent rw_lock_free may cause assertion failure 2010-06-01 16:43:35 +03:00
thr
trx Bug #57611 ibdata file and continuous growing undo logs 2010-10-26 16:54:18 -04:00
usr
ut Backport "NULL pointer check for ut_free()" from mysql-trunk-innodb to 2010-08-03 20:20:55 -07:00
ChangeLog merge to 5.1-security 2010-10-29 14:02:49 +03:00
CMakeLists.txt Bug#473914: mysql_client_test fail with in debug compilaton on windows x64 2010-12-06 12:52:06 +01:00
compile-innodb
compile-innodb-debug
COPYING
COPYING.Google
COPYING.Percona
COPYING.Sun_Microsystems
Doxyfile
ha_innodb.def
Makefile.am Fixed compiler and gmake warnings 2010-11-29 11:27:52 +02:00
plug.in Merge with MySQL 5.1.53 2010-11-25 00:57:34 +02:00
revert_gen.sh
setup.sh Fix Bug #53592 in plugin code, "crash replacing duplicates into table 2010-05-25 22:31:27 -07:00