@@ -260,7 +260,7 @@ func TestRowFormatWithChecksums(t *testing.T) {
260
260
data , err := h .GetMvccByEncodedKey (encodedKey )
261
261
require .NoError (t , err )
262
262
// row value with checksums
263
- expected := []byte {0x80 , 0x2 , 0x3 , 0x0 , 0x0 , 0x0 , 0x1 , 0x2 , 0x3 , 0x1 , 0x0 , 0x4 , 0x0 , 0x7 , 0x0 , 0x1 , 0x31 , 0x32 , 0x33 , 0x31 , 0x32 , 0x33 , 0x1 , 0xa9 , 0x7a , 0xf4 , 0xc8 }
263
+ expected := []byte {0x80 , 0x2 , 0x3 , 0x0 , 0x0 , 0x0 , 0x1 , 0x2 , 0x3 , 0x1 , 0x0 , 0x4 , 0x0 , 0x7 , 0x0 , 0x1 , 0x31 , 0x32 , 0x33 , 0x31 , 0x32 , 0x33 , 0x2 , 0x9e , 0x56 , 0xf5 , 0x45 }
264
264
require .Equal (t , expected , data .Info .Writes [0 ].ShortValue )
265
265
tk .MustExec ("drop table if exists t" )
266
266
}
@@ -284,7 +284,7 @@ func TestRowLevelChecksumWithMultiSchemaChange(t *testing.T) {
284
284
data , err := h .GetMvccByEncodedKey (encodedKey )
285
285
require .NoError (t , err )
286
286
// checksum skipped and with a null col vv
287
- expected := []byte {0x80 , 0x2 , 0x3 , 0x0 , 0x1 , 0x0 , 0x1 , 0x2 , 0x4 , 0x3 , 0x1 , 0x0 , 0x4 , 0x0 , 0x7 , 0x0 , 0x1 , 0x31 , 0x32 , 0x33 , 0x31 , 0x32 , 0x33 , 0x1 , 0xeb , 0x42 , 0xda , 0x20 }
287
+ expected := []byte {0x80 , 0x2 , 0x3 , 0x0 , 0x1 , 0x0 , 0x1 , 0x2 , 0x4 , 0x3 , 0x1 , 0x0 , 0x4 , 0x0 , 0x7 , 0x0 , 0x1 , 0x31 , 0x32 , 0x33 , 0x31 , 0x32 , 0x33 , 0x2 , 0x0 , 0x4f , 0xd2 , 0x26 }
288
288
require .Equal (t , expected , data .Info .Writes [0 ].ShortValue )
289
289
tk .MustExec ("drop table if exists t" )
290
290
}
0 commit comments