Commit a0d6c7d7 authored by unknown's avatar unknown

Merge mysql.com:/home/stewart/Documents/MySQL/5.1/new

into  mysql.com:/home/stewart/Documents/MySQL/5.1/new-bug18831
parents adfbca88 a0a7839e
......@@ -233,7 +233,7 @@ sizeof(SimpleProperties::SP2StructMapping);
void
DictFilegroupInfo::Filegroup::init(){
memset(FilegroupName, sizeof(FilegroupName), 0);
memset(FilegroupName, 0, sizeof(FilegroupName));
FilegroupType = ~0;
FilegroupId = ~0;
FilegroupVersion = ~0;
......@@ -244,8 +244,10 @@ DictFilegroupInfo::Filegroup::init(){
TS_DataGrow.GrowLimit = 0;
TS_DataGrow.GrowSizeHi = 0;
TS_DataGrow.GrowSizeLo = 0;
memset(TS_DataGrow.GrowPattern, sizeof(TS_DataGrow.GrowPattern), 0);
memset(TS_DataGrow.GrowPattern, 0, sizeof(TS_DataGrow.GrowPattern));
TS_DataGrow.GrowMaxSize = 0;
LF_UndoFreeWordsHi= 0;
LF_UndoFreeWordsLo= 0;
}
void
......
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