Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributeddb_schema_test_tools.cpp50 Value schemaVal(scmVal.begin(), scmVal.end()); in GenerateFixedLenJsonSchemaRecord() local
51 entry.value = schemaVal; in GenerateFixedLenJsonSchemaRecord()
112 Value schemaVal(scmVal.begin(), scmVal.end()); in GenerateFixedLenSchemaPerfRecord() local
113 entry.value = schemaVal; in GenerateFixedLenSchemaPerfRecord()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_relational_store.cpp121 Value schemaVal; in GetSchemaFromMeta() local
122 int errCode = storageEngine_->GetMetaData(schemaKey, schemaVal); in GetSchemaFromMeta()
126 } else if (errCode == -E_NOT_FOUND || schemaVal.empty()) { in GetSchemaFromMeta()
127 LOGW("No relational schema info was found. error %d size %zu", errCode, schemaVal.size()); in GetSchemaFromMeta()
132 DBCommon::VectorToString(schemaVal, schemaStr); in GetSchemaFromMeta()
210 Value schemaVal; in SaveSchemaToMeta() local
211 DBCommon::StringToVector(sqliteStorageEngine_->GetSchema().ToSchemaString(), schemaVal); in SaveSchemaToMeta()
212 int errCode = storageEngine_->PutMetaData(schemaKey, schemaVal); in SaveSchemaToMeta()
H A Dsqlite_single_relational_storage_engine.cpp156 Value schemaVal; in SaveSchemaToMetaTable() local
157 DBCommon::StringToVector(schema.ToSchemaString(), schemaVal); in SaveSchemaToMetaTable()
158 int errCode = handle->PutKvData(schemaKey, schemaVal); // save schema to meta_data in SaveSchemaToMetaTable()
170 Value schemaVal; in SaveTrackerSchemaToMetaTable() local
171 DBCommon::StringToVector(schema.ToSchemaString(), schemaVal); in SaveTrackerSchemaToMetaTable()
172 int errCode = handle->PutKvData(schemaKey, schemaVal); // save schema to meta_data in SaveTrackerSchemaToMetaTable()
H A Dsqlite_single_ver_relational_storage_extend_executor.cpp388 Value schemaVal; in GetOrInitTrackerSchemaFromMeta() local
389 int errCode = GetKvData(schemaKey, schemaVal); // save schema to meta_data in GetOrInitTrackerSchemaFromMeta()
393 if (schemaVal.empty()) { in GetOrInitTrackerSchemaFromMeta()
397 DBCommon::VectorToString(schemaVal, schemaStr); in GetOrInitTrackerSchemaFromMeta()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_tracker_table_test.cpp224 Value schemaVal; in CheckDropTableAndReopenDb() local
226 SQLiteUtils::GetColumnBlobValue(stmt, 0, schemaVal); in CheckDropTableAndReopenDb()
228 EXPECT_TRUE(schemaVal.size() != 0); in CheckDropTableAndReopenDb()
232 DBCommon::VectorToString(schemaVal, schemaStr); in CheckDropTableAndReopenDb()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_sync_able_storage.cpp1196 Value schemaVal; in GetSchemaFromDB() local
1197 int errCode = GetMetaData(schemaKey, schemaVal); in GetSchemaFromDB()
1201 } else if (errCode == -E_NOT_FOUND || schemaVal.empty()) { in GetSchemaFromDB()
1202 LOGW("No relational schema info was found. error %d size %zu", errCode, schemaVal.size()); in GetSchemaFromDB()
1206 DBCommon::VectorToString(schemaVal, schemaStr); in GetSchemaFromDB()