Home
last modified time | relevance | path

Searched refs:selectStmt (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_ver_relational_storage_executor_extend.cpp52 sqlite3_stmt *selectStmt = nullptr; in GetInfoByPrimaryKeyOrGid() local
61 errCode = SQLiteUtils::StepWithRetry(selectStmt); in GetInfoByPrimaryKeyOrGid()
85 SQLiteUtils::ResetStatement(selectStmt, true, ret); in GetInfoByPrimaryKeyOrGid()
490 sqlite3_stmt *selectStmt = nullptr; in GetAssetOnTable() local
499 errCode = SQLiteUtils::StepWithRetry(selectStmt); in GetAssetOnTable()
527 SQLiteUtils::ResetStatement(selectStmt, true, ret); in GetAssetOnTable()
536 sqlite3_stmt *selectStmt = nullptr; in GetCloudAssetsOnTable() local
567 SQLiteUtils::ResetStatement(selectStmt, true, ret); in GetCloudAssetsOnTable()
1300 sqlite3_stmt *selectStmt = nullptr; in IsNeedUpdateAssetId() local
1313 ResFinalizer finalizer([selectStmt]() { in IsNeedUpdateAssetId()
[all …]
H A Dsqlite_single_ver_relational_storage_extend_executor.cpp1188 sqlite3_stmt *selectStmt = nullptr; in GetAssetsAndUpdateAssetsId() local
1198 errCode = GetAssetsByRowId(selectStmt, assets); in GetAssetsAndUpdateAssetsId()
1203 SQLiteUtils::ResetStatement(selectStmt, true, ret); in GetAssetsAndUpdateAssetsId()
1225 SQLiteUtils::ResetStatement(selectStmt, true, ret); in GetAssetsAndUpdateAssetsId()
1387 int errCode = SQLiteUtils::StepWithRetry(selectStmt); in GetAssetsByRowId()
1589 sqlite3_stmt *selectStmt = nullptr; in GetAssetOnTable() local
1597 errCode = GetAssetOnTableInner(selectStmt, asset); in GetAssetOnTable()
1599 SQLiteUtils::ResetStatement(selectStmt, true, ret); in GetAssetOnTable()
1628 sqlite3_stmt *selectStmt = nullptr; in GetAssetsOnTable() local
1636 errCode = GetAssetsOnTableInner(selectStmt, assets); in GetAssetsOnTable()
[all …]
H A Dsqlite_single_ver_relational_storage_executor.h299 const Key &hashKey, sqlite3_stmt *&selectStmt);
412 int GetAssetsByRowId(sqlite3_stmt *&selectStmt, Assets &assets);
454 …bool IsNeedUpdateAssetIdInner(sqlite3_stmt *selectStmt, const VBucket &vBucket, const Field &field,
H A Dsqlite_single_ver_relational_storage_executor.cpp1811 sqlite3_stmt *selectStmt = nullptr; in GetCleanCloudDataKeys() local
1822 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, selectStmt); in GetCleanCloudDataKeys()
1828 errCode = SQLiteUtils::StepWithRetry(selectStmt); in GetCleanCloudDataKeys()
1830 dataKeys.push_back(sqlite3_column_int64(selectStmt, 0)); in GetCleanCloudDataKeys()
1836 SQLiteUtils::ResetStatement(selectStmt, true, errCode); in GetCleanCloudDataKeys()