Commit a0a7839e authored by unknown's avatar unknown

BUG#18831 Valgrind: cond jmp on uninit during ndb_dd_dump test

don't know why this didn't generate a warning, but let's fix it too.


storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
  fix reversed memset
parent 5592b787
...@@ -233,7 +233,7 @@ sizeof(SimpleProperties::SP2StructMapping); ...@@ -233,7 +233,7 @@ sizeof(SimpleProperties::SP2StructMapping);
void void
DictFilegroupInfo::Filegroup::init(){ DictFilegroupInfo::Filegroup::init(){
memset(FilegroupName, sizeof(FilegroupName), 0); memset(FilegroupName, 0, sizeof(FilegroupName));
FilegroupType = ~0; FilegroupType = ~0;
FilegroupId = ~0; FilegroupId = ~0;
FilegroupVersion = ~0; FilegroupVersion = ~0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment