Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_test.cpp193 if (tableSyncType == DistributedDB::DEVICE_COOPERATION) { in NoramlCreateDistributedTableTest()
501 if (tableSyncType == DistributedDB::DEVICE_COOPERATION) { in CreateDistributedTableNonPrimaryKeyTest()
699 if (tableSyncType == DistributedDB::DEVICE_COOPERATION) { in TableModifyTest()
953 if (tableSyncType == DEVICE_COOPERATION) { in CheckTable()
980 if (tableSyncType == DistributedDB::CLOUD_COOPERATION) { in TableConstraintsCheck()
995 CheckTable(tableSyncType, delegate, db); in TableConstraintsCheck()
1013 if (tableSyncType == DEVICE_COOPERATION) { in TableConstraintsCheck()
1027 if (tableSyncType == DEVICE_COOPERATION) { in TableConstraintsCheck()
1041 if (tableSyncType == DEVICE_COOPERATION) { in TableConstraintsCheck()
1049 void TableConstraintsTest(TableSyncType tableSyncType) in TableConstraintsTest() argument
[all …]
H A Ddistributeddb_interfaces_log_test.cpp62 TableSyncType tableSyncType = TableSyncType::DEVICE_COOPERATION; variable
63 auto tableManager = LogTableManagerFactory::GetTableManager(mode, tableSyncType);
H A Ddistributeddb_cloud_interfaces_relational_ext_test.cpp203 …DistributedDB::TableSyncType tableSyncType, bool userDefineRowid = true, bool createDistributeTabl… in PrepareData() argument
237 EXPECT_EQ(delegate->CreateDistributedTable(tableName, tableSyncType), OK); in PrepareData()
244 void InsertTriggerTest(DistributedDB::TableSyncType tableSyncType) in InsertTriggerTest() argument
251 PrepareData({tableName}, false, tableSyncType); in InsertTriggerTest()
273 [tableSyncType, curTime, &resultCount] (sqlite3_stmt *stmt) { in InsertTriggerTest()
287 if (tableSyncType == DistributedDB::CLOUD_COOPERATION) { in InsertTriggerTest()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_relational_storage_engine.cpp240 const std::string &tableName, const std::string &sharedTableName, TableSyncType tableSyncType, in CreateDistributedSharedTable() argument
247 table.SetTableSyncType(tableSyncType); in CreateDistributedSharedTable()
249 …if (!table.GetTrackerTable().IsEmpty() && tableSyncType == TableSyncType::DEVICE_COOPERATION) { //… in CreateDistributedSharedTable()
265 const std::string &identity, RelationalSchemaObject &schema, TableSyncType tableSyncType) in CreateDistributedTable() argument
283 table.SetTableSyncType(tableSyncType); in CreateDistributedTable()
288 if (!table.GetTrackerTable().IsEmpty() && tableSyncType == TableSyncType::DEVICE_COOPERATION) { in CreateDistributedTable()
311 TableSyncType tableSyncType = table.GetTableSyncType(); in CreateDistributedTable() local
312 int errCode = handle->CreateDistributedTable(mode, isUpgraded, identity, table, tableSyncType); in CreateDistributedTable()
329 errCode = SaveSyncTableTypeAndDropFlagToMeta(handle, tableName, tableSyncType); in CreateDistributedTable()
H A Dsqlite_single_relational_storage_engine.h80 RelationalSchemaObject &schema, TableSyncType tableSyncType);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/relational/
H A Dtable_info.h92 void SetTableSyncType(TableSyncType tableSyncType);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Dtable_info.cpp257 void TableInfo::SetTableSyncType(TableSyncType tableSyncType) in SetTableSyncType() argument
259 tableSyncType_ = tableSyncType; in SetTableSyncType()