summaryrefslogtreecommitdiff
path: root/mysys/default.c
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-06-12 22:39:45 +0300
committerunknown <monty@narttu.mysql.fi>2003-06-12 22:39:45 +0300
commitdd2836c4c153566420efcdbe68173b29adcb24e5 (patch)
tree0be61ddbb8a76073cf672a53d8a43bbb00c751eb /mysys/default.c
parent2a450f0c1e4e670f91875683b7761648496d9c63 (diff)
downloadmariadb-git-dd2836c4c153566420efcdbe68173b29adcb24e5.tar.gz
Changed safemalloc structure to not have to be 8 byte aligned. (Portability problem)
include/my_sys.h: Changed safe_malloc variables to start with sf_ mysys/default.c: Use safemalloc (as we use dynamic_arrays() that uses it inderectly anyway) mysys/my_static.c: Changed safe_malloc variables to start with sf_ mysys/my_static.h: Changed safe_malloc variables to start with sf_ Changed safemalloc structure to not have to be 8 byte aligned mysys/safemalloc.c: Changed safemalloc structure to not have to be 8 byte aligned. (portability fix) BIG code cleanup sql/mysqld.cc: Changed safe_malloc variables to start with sf_ sql/sql_parse.cc: Changed safe_malloc variables to start with sf_
Diffstat (limited to 'mysys/default.c')
-rw-r--r--mysys/default.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mysys/default.c b/mysys/default.c
index 3ff240da3a1..cdacc8bee2b 100644
--- a/mysys/default.c
+++ b/mysys/default.c
@@ -33,8 +33,6 @@
** --print-defaults ; Print the modified command line and exit
****************************************************************************/
-#undef SAFEMALLOC /* safe_malloc is not yet initailized */
-
#include "mysys_priv.h"
#include "m_string.h"
#include "m_ctype.h"