mariadb/storage/ibmdb2i
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
..
CMakeLists.txt Bug#473914: mysql_client_test fail with in debug compilaton on windows x64 2010-12-06 12:52:06 +01:00
db2i_blobCollection.cc Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00
db2i_blobCollection.h Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_charsetSupport.cc Bug#45793 macce charset causes error with IBMDB2I 2009-07-02 13:34:23 +05:30
db2i_charsetSupport.h Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00
db2i_collationSupport.cc Bug#45196 Some collations do not sort correctly with IBMDB2I 2009-06-29 07:32:17 +05:30
db2i_collationSupport.h Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_constraints.cc Bug#49521 SHOW CREATE TABLE on IBMDB2I tables has incorrect fk constraint format 2009-12-11 12:46:57 +05:30
db2i_conversion.cc Bug#45803 Inaccurate estimates for partial key values with IBMDB2I 2009-07-06 14:19:32 +05:30
db2i_errors.cc Bug#44232 Error msg should be improved when collation not supported. 2009-05-05 15:03:52 +05:30
db2i_errors.h Bug#44232 Error msg should be improved when collation not supported. 2009-05-05 15:03:52 +05:30
db2i_file.cc Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_file.h Bug#22320: my_atomic-t unit test fails 2010-07-05 09:00:39 -03:00
db2i_global.h Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00
db2i_iconv.h Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00
db2i_ileBridge.cc Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_ileBridge.h Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_ioBuffers.cc Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_ioBuffers.h Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_misc.h Bug#44811 Tests with utf8 charset fail with ibmdb2i on 64bit MySQL 2009-05-29 15:01:00 +05:30
db2i_myconv.cc Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00
db2i_myconv.h Bug#45803 Inaccurate estimates for partial key values with IBMDB2I 2009-07-06 14:19:32 +05:30
db2i_rir.cc Bug#45803 Inaccurate estimates for partial key values with IBMDB2I 2009-07-06 14:19:32 +05:30
db2i_safeString.h Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00
db2i_sqlStatementStream.cc Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00
db2i_sqlStatementStream.h Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00
db2i_validatedPointer.h Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00
ha_ibmdb2i.cc Bug#49329 example (and other) engines use wrong collation for open tables hash 2009-12-11 12:31:16 +05:30
ha_ibmdb2i.h Bug#45983 ibmdb2i_create_index_option=1 not working for primary key 2009-07-08 14:40:01 +05:30
Makefile.am Fixed compiler and gmake warnings 2010-11-29 11:27:52 +02:00
plug.in Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00