|
@ -297,7 +297,7 @@ func (v *Volume) makeupDiff(newDatFileName, newIdxFileName, oldDatFileName, oldI |
|
|
} |
|
|
} |
|
|
util.Uint32toBytes(idxEntryBytes[8:12], uint32(offset/NeedlePaddingSize)) |
|
|
util.Uint32toBytes(idxEntryBytes[8:12], uint32(offset/NeedlePaddingSize)) |
|
|
} else { //deleted needle
|
|
|
} else { //deleted needle
|
|
|
//fakeDelNeedle 's default Data field is nil
|
|
|
|
|
|
|
|
|
//fakeDelNeedle's default Data field is nil
|
|
|
fakeDelNeedle := new(needle.Needle) |
|
|
fakeDelNeedle := new(needle.Needle) |
|
|
fakeDelNeedle.Id = key |
|
|
fakeDelNeedle.Id = key |
|
|
fakeDelNeedle.Cookie = 0x12345678 |
|
|
fakeDelNeedle.Cookie = 0x12345678 |
|
|