Turn null indicator bit on. For non-nullable slots, the mask will be 0 and this is a no-op (but we don't have to branch to check is slots are nullable).
| 272 | /// Turn null indicator bit on. For non-nullable slots, the mask will be 0 and |
| 273 | /// this is a no-op (but we don't have to branch to check is slots are nullable). |
| 274 | void SetNull(const NullIndicatorOffset& offset) { |
| 275 | char* null_indicator_byte = reinterpret_cast<char*>(this) + offset.byte_offset; |
| 276 | *null_indicator_byte |= offset.bit_mask; |
| 277 | } |
| 278 | |
| 279 | /// Turn null indicator bit off. |
| 280 | void SetNotNull(const NullIndicatorOffset& offset) { |
no outgoing calls