mirror of https://github.com/apache/cassandra
fix row size "returned" via bufOut (currently ignored). patch by Jun Rao; reviewed by jbellis for #33
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@766744 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6be087a80a
commit
234d0895ad
|
|
@ -903,7 +903,7 @@ public class SequenceFile
|
|||
* one booleanfor deleted or not +
|
||||
* one int for number of columns
|
||||
*/
|
||||
bufOut.writeInt(dataSize + utfPrefix_ + cfName.length() + 4 + 1);
|
||||
bufOut.writeInt(dataSize + utfPrefix_ + cfName.length() + 4 + 8 + 4);
|
||||
/* write the column family name */
|
||||
bufOut.writeUTF(cfName);
|
||||
/* write local deletion time */
|
||||
|
|
@ -991,7 +991,7 @@ public class SequenceFile
|
|||
* one booleanfor deleted or not +
|
||||
* one int for number of columns
|
||||
*/
|
||||
bufOut.writeInt(dataSizeReturned + utfPrefix_ + cfName.length() + 4 + 1);
|
||||
bufOut.writeInt(dataSizeReturned + utfPrefix_ + cfName.length() + 4 + 8 + 4);
|
||||
/* write the column family name */
|
||||
bufOut.writeUTF(cfName);
|
||||
/* write local deletion time */
|
||||
|
|
|
|||
Loading…
Reference in New Issue