Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dschema_object.cpp240 SchemaObject newSchema; in CompareAgainstSchemaString() local
241 int errCode = newSchema.ParseFromSchemaString(inSchemaString); in CompareAgainstSchemaString()
245 return CompareAgainstSchemaObject(newSchema, indexDiffer); in CompareAgainstSchemaString()
745 if (schemaVersion_ != newSchema.schemaVersion_) { in CompareSchemaVersionMode()
747 newSchema.schemaVersion_.c_str()); in CompareSchemaVersionMode()
758 modeMapString[newSchema.schemaMode_].c_str()); in CompareSchemaVersionMode()
767 if (schemaSkipSize_ != newSchema.schemaSkipSize_) { in CompareSchemaSkipSize()
775 int SchemaObject::CompareSchemaDefine(const SchemaObject &newSchema) const in CompareSchemaDefine()
783 … (newSchema.schemaDefine_.count(depth) == 0 ? emptyDefine : newSchema.schemaDefine_.at(depth)); in CompareSchemaDefine()
961 for (const auto &entry : newSchema.schemaIndexes_) { in CompareSchemaIndexes()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dschema_object.h132 int CompareSchemaVersionMode(const SchemaObject &newSchema) const;
133 int CompareSchemaSkipSize(const SchemaObject &newSchema) const;
134 int CompareSchemaDefine(const SchemaObject &newSchema) const;
138 int CompareSchemaIndexes(const SchemaObject &newSchema, IndexDifference &indexDiffer) const;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/upgrader/
H A Dsingle_ver_schema_database_upgrader.cpp21 SingleVerSchemaDatabaseUpgrader::SingleVerSchemaDatabaseUpgrader(const SchemaObject &newSchema) in SingleVerSchemaDatabaseUpgrader() argument
22 : newSchema_(newSchema) in SingleVerSchemaDatabaseUpgrader()
H A Dsingle_ver_schema_database_upgrader.h26 explicit SingleVerSchemaDatabaseUpgrader(const SchemaObject &newSchema);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_schema_database_upgrader.h27 SQLiteSingleVerSchemaDatabaseUpgrader(sqlite3 *db, const SchemaObject &newSchema,
H A Dsqlite_single_ver_schema_database_upgrader.cpp24 const SchemaObject &newSchema, const SecurityOption &securityOpt, bool isMemDB) in SQLiteSingleVerSchemaDatabaseUpgrader() argument
25 …LiteSingleVerDatabaseUpgrader(db, securityOpt, isMemDB), SingleVerSchemaDatabaseUpgrader(newSchema) in SQLiteSingleVerSchemaDatabaseUpgrader()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_schema_database_upgrade_test.cpp275 const std::string &newSchema, bool expectMatch, uint32_t expectCount) in TestUpgradeFromSchema() argument
296 option.schema = newSchema; in TestUpgradeFromSchema()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Dkvdb_manager.h112 static bool CompareSchemaObject(const SchemaObject &newSchema, const SchemaObject &oldSchema);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dkvdb_manager.cpp915 bool KvDBManager::CompareSchemaObject(const SchemaObject &newSchema, const SchemaObject &oldSchema) in CompareSchemaObject() argument
917 if (!newSchema.IsSchemaValid() && !oldSchema.IsSchemaValid()) { // LCOV_EXCL_BR_LINE in CompareSchemaObject()
920 if (!newSchema.IsSchemaValid() || !oldSchema.IsSchemaValid()) { // LCOV_EXCL_BR_LINE in CompareSchemaObject()
923 return (oldSchema.CompareAgainstSchemaObject(newSchema) == -E_SCHEMA_EQUAL_EXACTLY); in CompareSchemaObject()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_sync_able_storage.cpp1223 RelationalSchemaObject newSchema; in ChkSchema() local
1224 errCode = GetSchemaFromDB(newSchema); in ChkSchema()
1229 errCode = schemaMgr_.ChkSchema(tableName, newSchema); in ChkSchema()
/ohos5.0/docs/zh-cn/contribute/
H A DOpenHarmony-Java-secure-coding-guide.md1337 Schema schema = sf.newSchema(ss);
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-Java-secure-coding-guide.md1329 Schema schema = sf.newSchema(ss);