diff options
author | unknown <stewart@mysql.com> | 2006-04-06 21:59:13 +1000 |
---|---|---|
committer | unknown <stewart@mysql.com> | 2006-04-06 21:59:13 +1000 |
commit | 9cc12d65cd6d57789678ce57f6ac64806d3ca56c (patch) | |
tree | 79e543c793e959a0ffacda10ce13fed1b4c82567 /ndb | |
parent | 00cfd1a75f97eefcd9bfd64c63ee84cd33c2f648 (diff) | |
download | mariadb-git-9cc12d65cd6d57789678ce57f6ac64806d3ca56c.tar.gz |
BUG#18843 valgrind: cond jump on uninit in Qmgr::execAPI_REGREQ
ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp:
Also init a few internals before start phase 1 as they can be accessed before that
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp b/ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp index 97ca3f44b3a..4859ca22221 100644 --- a/ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp +++ b/ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp @@ -25,7 +25,10 @@ void Ndbcntr::initData() { - + c_start.reset(); + cmasterNodeId = 0; + cnoStartNodes = 0; + cnoWaitrep = 0; // Records with constant sizes ndbBlocksRec = new NdbBlocksRec[ZSIZE_NDB_BLOCKS_REC]; }//Ndbcntr::initData() |