| 144 | } |
| 145 | |
| 146 | TupleRow* CreateNullTupleRow() { |
| 147 | uint8_t* tuple_row_mem = mem_pool_.Allocate(sizeof(int32_t*)); |
| 148 | Tuple* tuple_mem = Tuple::Create(sizeof(int32_t), &mem_pool_); |
| 149 | tuple_mem->SetNull(NullIndicatorOffset(0,1)); |
| 150 | TupleRow* row = reinterpret_cast<TupleRow*>(tuple_row_mem); |
| 151 | row->SetTuple(0, tuple_mem); |
| 152 | return row; |
| 153 | } |
| 154 | |
| 155 | // Wrapper to call private methods on HashTable |
| 156 | // TODO: understand google testing, there must be a more natural way to do this |
nothing calls this directly
no test coverage detected