(out []y.Iterator, th []*table.Table, reversed bool)
| 1092 | } |
| 1093 | |
| 1094 | func appendIteratorsReversed(out []y.Iterator, th []*table.Table, reversed bool) []y.Iterator { |
| 1095 | for i := len(th) - 1; i >= 0; i-- { |
| 1096 | // This will increment the reference of the table handler. |
| 1097 | out = append(out, th[i].NewIterator(reversed)) |
| 1098 | } |
| 1099 | return out |
| 1100 | } |
| 1101 | |
| 1102 | // appendIterators appends iterators to an array of iterators, for merging. |
| 1103 | // Note: This obtains references for the table handlers. Remember to close these iterators. |
no test coverage detected
searching dependent graphs…