appendTableRecordPrefix appends table record prefix "t[tableID]_r".
(buf []byte, tableID int64)
| 1119 | |
| 1120 | // appendTableRecordPrefix appends table record prefix "t[tableID]_r". |
| 1121 | func appendTableRecordPrefix(buf []byte, tableID int64) []byte { |
| 1122 | buf = append(buf, tablePrefix...) |
| 1123 | buf = codec.EncodeInt(buf, tableID) |
| 1124 | buf = append(buf, recordPrefixSep...) |
| 1125 | return buf |
| 1126 | } |
| 1127 | |
| 1128 | // appendTableIndexPrefix appends table index prefix "t[tableID]_i". |
| 1129 | func appendTableIndexPrefix(buf []byte, tableID int64) []byte { |
no test coverage detected