Below is the list of changes that have just been committed into a local
5.1 repository of jonas. When jonas does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2008-04-03 14:38:58+02:00, jonas@stripped +1 -0
ndb -
Add randomization of KeyReqStruct to find bugs with uninitialized variables
such as bug-35797
storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp@stripped, 2008-04-03 14:38:56+02:00, jonas@stripped +7 -0
Add randomization of KeyReqStruct to find bugs with uninitialized variables
such as bug-35797
diff -Nrup a/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp b/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp
--- a/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp 2008-02-06 13:06:03 +01:00
+++ b/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp 2008-04-03 14:38:56 +02:00
@@ -1420,6 +1420,13 @@ typedef Ptr<HostBuffer> HostBufferPtr;
};
struct KeyReqStruct {
+
+#if defined VM_TRACE || defined ERROR_INSERT
+ KeyReqStruct() {
+ memset(this, 0xf3, sizeof(* this));
+ }
+#endif
+
/**
* These variables are used as temporary storage during execution of the
* TUPKEYREQ signal.
| Thread |
|---|
| • bk commit into 5.1 tree (jonas:1.2553) | jonas | 3 Apr |