| 132 | |
| 133 | template <typename T, bool IS_FIRST_SLOT_NULL = false> |
| 134 | int CompareTest(T lval1, T lval2, T rval1, T rval2) { |
| 135 | TupleRow* lhs = CreateTupleRow<IS_FIRST_SLOT_NULL>(lval1, lval2); |
| 136 | TupleRow* rhs = CreateTupleRow(rval1, rval2); |
| 137 | int result = comperator_->Compare(lhs, rhs); |
| 138 | comperator_->Close(runtime_state_); |
| 139 | return result; |
| 140 | } |
| 141 | |
| 142 | // With this function, nullable entries can also be tested, by setting the |
| 143 | // template parameter to true. This means that the first slot of the |