Skip to content

Commit a227a6a

Browse files
committed
fixed handle
1 parent 54de390 commit a227a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/tikv/common/codec/TableCodecV2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected static Object[] decodeObjects(byte[] value, Handle handle, TiTableInfo
8787
if (decodedDataMap.containsKey(col.getId())) {
8888
continue;
8989
} else if (col.isPrimaryKey() && tableInfo.isPkHandle()) {
90-
decodedDataMap.put(col.getId(), handle.data());
90+
decodedDataMap.put(col.getId(), handle.data()[0]);
9191
continue;
9292
}
9393
RowV2.ColIDSearchResult searchResult = rowV2.findColID(col.getId());

0 commit comments

Comments
 (0)