MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / SetField

Method SetField

src/codec/codec.cc:185–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185void RowBuilder::SetField(uint32_t index) {
186 int8_t* ptr = buf_ + HEADER_LENGTH + (index >> 3);
187 *(reinterpret_cast<uint8_t*>(ptr)) &= ~(1 << (index & 0x07));
188}
189
190bool RowBuilder::AppendNULL() {
191 if (!SetNULL(cnt_)) return false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected