• Michael Widenius's avatar
    Added macros to inform valgrind that memory is uninitialized · 9e23495b
    Michael Widenius authored
    include/Makefile.am:
      Make my_valgrind.h global (as it's used by my_global.h)
    include/my_global.h:
      Include my_valgrind.h
    include/my_sys.h:
      TRASH() moved to my_valgrind.h
    include/my_valgrind.h:
      Add VALGRIND defines to mark memory
    mysys/my_alloc.c:
      Mark internal freed memory as undefined
    9e23495b
my_sys.h 41.6 KB