appendTableIndexPrefix appends table index prefix "t[tableID]_i".
(buf []byte, tableID int64)
| 1127 | |
| 1128 | // appendTableIndexPrefix appends table index prefix "t[tableID]_i". |
| 1129 | func appendTableIndexPrefix(buf []byte, tableID int64) []byte { |
| 1130 | buf = append(buf, tablePrefix...) |
| 1131 | buf = codec.EncodeInt(buf, tableID) |
| 1132 | buf = append(buf, indexPrefixSep...) |
| 1133 | return buf |
| 1134 | } |
| 1135 | |
| 1136 | // GenTableRecordPrefix composes record prefix with tableID: "t[tableID]_r". |
| 1137 | func GenTableRecordPrefix(tableID int64) kv.Key { |
no test coverage detected