I moved blockIndex after tableId in data block so that it shares the same header with schema block, easier to verify in tests.
—
Ning

On Thu, Jul 4, 2013 at 6:39 PM, aweisberg <notifications@github.com>
wrote:

>> @@ -33,7 +33,7 @@
>>      protected static final int schemaTableIdOffset = typeOffset + 1;
>>  
>>      // For data message
>> -    protected static final int blockIndexOffset = typeOffset + 1;
>> -    protected static final int tableIdOffset = blockIndexOffset + 4;
>> -    protected static final int contentOffset = tableIdOffset + 4;
>> +    protected static final int tableIdOffset = typeOffset + 4;
>> +    protected static final int blockIndexOffset = tableIdOffset + 1;
>> +    protected static final int contentOffset = blockIndexOffset + 4;
> Why did these fields need to be reordered?
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/VoltDB/voltdb/pull/604/files#r5036344