Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_relational_storage_engine.h38 …ateDistributedTable(const std::string &tableName, const std::string &identity, bool &schemaChanged,
74 …int UpgradeDistributedTable(const std::string &tableName, bool &schemaChanged, TableSyncType syncT…
90 …ogInfoForUpgrade(const std::string &tableName, RelationalSchemaObject &schema, bool schemaChanged);
H A Dsqlite_single_relational_storage_engine.cpp202 …const std::string &identity, bool &schemaChanged, TableSyncType syncType, bool trackerSchemaChange… in CreateDistributedTable() argument
214 int errCode = UpgradeDistributedTable(tableName, schemaChanged, syncType); in CreateDistributedTable()
224 schemaChanged = true; in CreateDistributedTable()
232 if (isUpgraded && (schemaChanged || trackerSchemaChanged)) { in CreateDistributedTable()
234 errCode = GenLogInfoForUpgrade(tableName, schema, schemaChanged); in CreateDistributedTable()
336 …RelationalStorageEngine::UpgradeDistributedTable(const std::string &tableName, bool &schemaChanged, in UpgradeDistributedTable() argument
356 errCode = handle->UpgradeDistributedTable(tableName, mode, schemaChanged, schema, syncType); in UpgradeDistributedTable()
1018 RelationalSchemaObject &schema, bool schemaChanged) in GenLogInfoForUpgrade() argument
1034 errCode = handle->UpgradedLogForExistedData(table, schemaChanged); in GenLogInfoForUpgrade()
H A Dsqlite_single_ver_relational_storage_executor.h64 …gradeDistributedTable(const std::string &tableName, DistributedTableMode mode, bool &schemaChanged,
188 int UpgradedLogForExistedData(TableInfo &tableInfo, bool schemaChanged);
H A Dsqlite_relational_store.cpp467 bool schemaChanged = false; in CreateDistributedTable() local
469 schemaChanged, syncType, trackerSchemaChanged); in CreateDistributedTable()
473 if (schemaChanged) { in CreateDistributedTable()
H A Dsqlite_single_ver_relational_storage_extend_executor.cpp476 …leVerRelationalStorageExecutor::UpgradedLogForExistedData(TableInfo &tableInfo, bool schemaChanged) in UpgradedLogForExistedData() argument
482 if (schemaChanged) { in UpgradedLogForExistedData()
494 LOGI("Upgrade tracker table log, schemaChanged:%d.", schemaChanged); in UpgradedLogForExistedData()
H A Dsqlite_single_ver_relational_storage_executor.cpp297 …DistributedTableMode mode, bool &schemaChanged, RelationalSchemaObject &schema, TableSyncType sync… in UpgradeDistributedTable() argument
329 schemaChanged = true; in UpgradeDistributedTable()