Home
last modified time | relevance | path

Searched refs:heapSchemaObj (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_utils.cpp1712 auto heapSchemaObj = new (std::nothrow) SchemaObject; in RegisterFlatBufferFunction() local
1713 if (heapSchemaObj == nullptr) { in RegisterFlatBufferFunction()
1716 int errCode = heapSchemaObj->ParseFromSchemaString(inSchema); in RegisterFlatBufferFunction()
1718 delete heapSchemaObj; in RegisterFlatBufferFunction()
1719 heapSchemaObj = nullptr; in RegisterFlatBufferFunction()
1722 …if (heapSchemaObj->GetSchemaType() != SchemaType::FLATBUFFER) { // Do not need to register FlatBuf… in RegisterFlatBufferFunction()
1723 delete heapSchemaObj; in RegisterFlatBufferFunction()
1724 heapSchemaObj = nullptr; in RegisterFlatBufferFunction()
1728 …3, SQLITE_UTF8 | SQLITE_DETERMINISTIC, heapSchemaObj, &FlatBufferExtractByPath, nullptr, nullptr, … in RegisterFlatBufferFunction()