Home
last modified time | relevance | path

Searched refs:indexSql (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_repeat_db.cpp105 std::string indexSql = "create index sys_event_his_index1 on "; in CreateTable() local
106 indexSql.append(TABLE_NAME).append("(").append(COLUMN_DOMAIN).append(", ") in CreateTable()
108 if (dbStore_->ExecuteSql(indexSql) != NativeRdb::E_OK) { in CreateTable()
109 HIVIEW_LOGE("failed to create index1, sql=%{public}s", indexSql.c_str()); in CreateTable()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_test.cpp863 std::string indexSql = "CREATE INDEX add_index ON sync_data (add_field);"; in UpgradeDistributedTableTest() local
864 EXPECT_EQ(RelationalTestUtils::ExecSql(db, indexSql), SQLITE_OK); in UpgradeDistributedTableTest()
1640 std::string indexSql = "CREATE INDEX IF NOT EXISTS 'index' on 'create' (b)"; variable
1641 EXPECT_EQ(RelationalTestUtils::ExecSql(db, indexSql), SQLITE_OK);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_utils.cpp1583 std::string indexSql; in CloneIndexes() local
1584 (void)GetColumnTextValue(stmt, 0, indexSql); in CloneIndexes()
1585 indexes.emplace_back(indexSql); in CloneIndexes()