MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / OnRowDataChanged

Method OnRowDataChanged

src/plugin/kernel/src/AFCTable.cpp:359–373  ·  view source on GitHub ↗

mask of row's nodes are not used yet

Source from the content-addressed store, hash-verified

357
358// mask of row's nodes are not used yet
359int AFCTable::OnRowDataChanged(uint32_t row, AFINode* pNode, const AFIData& old_data, const AFIData& new_data)
360{
361 ARK_ASSERT_RET_VAL(table_meta_ != nullptr, false);
362
363 TABLE_EVENT_DATA xData;
364 xData.table_name_ = table_meta_->GetName();
365 xData.table_index_ = table_meta_->GetIndex();
366 xData.data_index_ = pNode->GetIndex();
367 xData.row_ = row;
368 xData.op_type_ = (size_t)ArkTableOpType::TABLE_UPDATE;
369
370 func_(table_meta_->GetMask(), pNode, xData, old_data, new_data);
371
372 return 0;
373}
374
375AFIRow* AFCTable::CreateRow(uint32_t row, const AFIDataList& args)
376{

Callers

nothing calls this directly

Calls 2

GetIndexMethod · 0.45
GetMaskMethod · 0.45

Tested by

no test coverage detected