Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_relational_storage_engine.cpp206 bool isUpgraded = false; in CreateDistributedTable() local
213 isUpgraded = true; in CreateDistributedTable()
227 int errCode = CreateDistributedTable(tableName, isUpgraded, identity, schema, syncType); in CreateDistributedTable()
232 if (isUpgraded && (schemaChanged || trackerSchemaChanged)) { in CreateDistributedTable()
253 bool isUpgraded = schema.GetTable(sharedTableName).GetTableName() == sharedTableName; in CreateDistributedSharedTable() local
254 int errCode = CreateDistributedTable(handle, isUpgraded, "", table, schema); in CreateDistributedSharedTable()
264 …ingleRelationalStorageEngine::CreateDistributedTable(const std::string &tableName, bool isUpgraded, in CreateDistributedTable() argument
285 if (isUpgraded) { in CreateDistributedTable()
293 errCode = CreateDistributedTable(handle, isUpgraded, identity, table, schema); in CreateDistributedTable()
307 bool isUpgraded, const std::string &identity, TableInfo &table, RelationalSchemaObject &schema) in CreateDistributedTable() argument
[all …]
H A Dsqlite_single_relational_storage_engine.h76 int CreateDistributedTable(SQLiteSingleVerRelationalStorageExecutor *&handle, bool isUpgraded,
79 …int CreateDistributedTable(const std::string &tableName, bool isUpgraded, const std::string &ident…
H A Dsqlite_single_ver_relational_storage_executor.cpp211 …gleVerRelationalStorageExecutor::CreateDistributedTable(DistributedTableMode mode, bool isUpgraded, in CreateDistributedTable() argument
225 if (mode == DistributedTableMode::SPLIT_BY_DEVICE && !isUpgraded) { in CreateDistributedTable()
253 if (!isUpgraded) { in CreateDistributedTable()
H A Dsqlite_single_ver_relational_storage_executor.h61 …int CreateDistributedTable(DistributedTableMode mode, bool isUpgraded, const std::string &identity,