- Removed files specific to compiling on OS/2
- Removed files specific to SCO Unix packaging
- Removed "libmysqld/copyright", text is included in documentation
- Removed LaTeX headers for NDB Doxygen documentation
- Removed obsolete NDB files
- Removed "mkisofs" binaries
- Removed the "cvs2cl.pl" script
- Changed a few GPL texts to use "program" instead of "library"
Remove some more leftovers from the initial removal:
o Update relevant mentions of configure.in throughout
the source code.
o Remove win/configure.js, which at this point just
duplicates logic already present in CMake based build
system.
o Remove support files which relied on the autotools
build system. In any case, MySQL is no longer officially
supported on SCO.
o Remove files which are no longer part of the build.
TO DO: Enable this in CMake-based builds.
------------------------------------------------------------
revno: 3474
revision-id: marko.makela@oracle.com-20100520104042-ma2nsscqdvwoph8k
parent: marko.makela@oracle.com-20100519081618-h38q02qxuvcowbtk
committer: Marko Mäkelä <marko.makela@oracle.com>
branch nick: 5.1-innodb
timestamp: Thu 2010-05-20 13:40:42 +0300
message:
Bug#53593: Add some instrumentation to improve Valgrind sensitivity
BUILD/*: Add valgrind_configs=--with-valgrind.
BUILD/*: Remove -USAFEMALLOC from valgrind_flags.
configure.in: Add AC_ARG_WITH(valgrind) and HAVE_VALGRIND.
include/my_sys.h: Define a number of MEM_ wrappers for VALGRIND_ functions.
include/my_sys.h: Make TRASH do MEM_UNDEFINED().
include/m_string.h: Remove unused macro bzero_if_purify(A,B).
_mymalloc(): Declare MEM_UNDEFINED() on the allocated memory.
_myfree(): Declare MEM_NOACCESS() on the freed memory.
storage/innobase/include/univ.i: Enable UNIV_DEBUG_VALGRIND based on
HAVE_VALGRIND rather than HAVE_purify.
Possible things to do:
* In my_global.h, remove the defined(HAVE_purify) condition
from the _WIN32 uint3korr().
* In my_global.h *int*korr(), use | instead of +
in order to keep the Valgrind V bits accurate
* Consider replacing HAVE_purify with HAVE_VALGRIND
* Use VALGRIND_CREATE_BLOCK, VALGRIND_DISCARD in mem_root and similar places
BUILD/*: Add valgrind_configs=--with-valgrind.
BUILD/*: Remove -USAFEMALLOC from valgrind_flags.
configure.in: Add AC_ARG_WITH(valgrind) and HAVE_VALGRIND.
include/my_sys.h: Define a number of MEM_ wrappers for VALGRIND_ functions.
include/my_sys.h: Make TRASH do MEM_UNDEFINED().
include/m_string.h: Remove unused macro bzero_if_purify(A,B).
_mymalloc(): Declare MEM_UNDEFINED() on the allocated memory.
_myfree(): Declare MEM_NOACCESS() on the freed memory.
storage/innobase/include/univ.i: Enable UNIV_DEBUG_VALGRIND based on
HAVE_VALGRIND rather than HAVE_purify.
Possible things to do:
* In my_global.h, remove the defined(HAVE_purify) condition
from the _WIN32 uint3korr().
* In my_global.h *int*korr(), use | instead of +
in order to keep the Valgrind V bits accurate
* Consider replacing HAVE_purify with HAVE_VALGRIND
* Use VALGRIND_CREATE_BLOCK, VALGRIND_DISCARD in mem_root and similar places
never defined.
It was used at some point to add -Wuninitialized to debug flags,
but not any more. If there is still need to add -Wunitialized,
it can be added directly to $global_warnings.
BUILD/compile-amd64-debug-max-no-ndb:
Remove a no-op.
BUILD/compile-amd64-debug-max:
Remove a no-op.
BUILD/compile-darwin-mwcc:
Remove a no-op.
BUILD/compile-pentium-debug-max-no-embedded:
Remove a no-op.
BUILD/compile-pentium-debug-max-no-ndb:
Remove a no-op.
BUILD/compile-pentium-debug-max:
Remove a no-op.
BUILD/compile-pentium-debug-openssl:
Remove a no-op.
BUILD/compile-pentium-debug-yassl:
Remove a no-op.
BUILD/compile-pentium-debug:
Remove a no-op.
BUILD/compile-pentium-mysqlfs-debug:
Remove a no-op.
BUILD/compile-pentium-valgrind-max:
Remove a no-op.
BUILD/compile-pentium64-debug-max:
Remove a no-op.
BUILD/compile-pentium64-debug:
Remove a no-op.
BUILD/compile-pentium64-valgrind-max:
Remove a no-op.
BUILD/compile-ppc-debug-max-no-ndb:
Remove a no-op.
BUILD/compile-ppc-debug-max:
Remove a no-op.
BUILD/compile-ppc-debug:
Remove a no-op.
BUILD/SETUP.sh:
Remove dead options.
BUILD/compile-amd64-debug-max-no-ndb:
Remove dead options.
BUILD/compile-amd64-debug-max:
Remove dead options.
BUILD/compile-amd64-max:
Remove dead options.
BUILD/compile-darwin-mwcc:
Remove dead options.
BUILD/compile-pentium-debug-max-no-embedded:
Remove dead options.
BUILD/compile-pentium-debug-max-no-ndb:
Remove dead options.
BUILD/compile-pentium-debug-max:
Remove dead options.
BUILD/compile-pentium-icc-valgrind-max:
Remove dead options.
BUILD/compile-pentium-max:
Remove dead options.
BUILD/compile-pentium-valgrind-max:
Remove dead options. There is no ISAM any more.
BUILD/compile-pentium64-debug-max:
Remove dead options.
BUILD/compile-pentium64-valgrind-max:
Remove dead options. There is no ISAM any more.
BUILD/compile-ppc-debug-max-no-ndb:
Remove dead options.
BUILD/compile-ppc-debug-max:
Remove dead options.
BUILD/compile-ppc-max:
Remove dead options.
test "length" first (otherwise when "length" is 0, the *from invalid access still triggers a Valgrind warning).
I wrote to the Valgrind authors in case this is something fixable in Valgrind (normally the
decision to issue a warning is based on the simulated CPU condition code, which should not be undefined here).
BUILD/compile-pentium64-valgrind-max:
putting this script in sync with compile-pentium-valgrind-max, otherwise we didn't have the federated engine compiled in.
mysql-test/r/read_only.result:
result update
sql/field.cc:
To avoid a Valgrind warning running the type_bit test: test "length" first (otherwise when "length" is 0, the *from invalid access still triggers a Valgrind warning).