Skip to content

Commit

Permalink
Add "_rowID"
Browse files Browse the repository at this point in the history
  • Loading branch information
CaitinChen committed Mar 6, 2019
1 parent 68137d6 commit ed32da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tidb-internal-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Value: rowID
Index 数据还需要考虑 Unique Index 和非 Unique Index 两种情况,对于 Unique Index,可以按照上述编码规则。但是对于非 Unique Index,通过这种编码并不能构造出唯一的 Key,因为同一个 Index 的 `tablePrefix_tableID_indexPrefixSep_indexID` 都一样,可能有多行数据的 `ColumnsValue` 是一样的,所以对于非 Unique Index 的编码做了一点调整:

```
Key: tablePrefix_tableID_indexPrefixSep_indexID_indexedColumnsValue
Key: tablePrefix_tableID_indexPrefixSep_indexID_indexedColumnsValue_rowID
Value: null
```

Expand Down

0 comments on commit ed32da0

Please sign in to comment.