| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
| H A D | sqlite_single_relational_storage_engine.cpp | 444 std::string sql = in CreateRelationalMetaTable() local
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
| H A D | distributeddb_cloud_interfaces_relational_ext_test.cpp | 170 static void ExecSqlAndWaitForObserver(sqlite3 *db, const std::string &sql, std::unique_lock<std::mutex> &lock) in ExecSqlAndWaitForObserver() argument 188 const std::string sql = "select get_raw_sys_time();"; in HWTEST_F() local 212 std::string sql; in PrepareData() local 259 std::string sql in InsertTriggerTest() local 346 std::string sql = "insert into " + tableName + " VALUES(2, 1, 'zhangsan1');"; HWTEST_F() local 399 std::string sql = "insert into " + tableName + " VALUES(2, 1, 'zhangsan');"; UpdateTriggerTest() local 497 std::string sql = "insert into " + tableName + " VALUES(2, 1, 'zhangsan');"; HWTEST_F() local 608 std::string sql = "insert into " + tableName + " VALUES(1, 'zhangsan'), (2, 'lisi'), (3, 'wangwu');"; HWTEST_F() local 723 std::string sql; HWTEST_F() local 786 std::string sql = "begin;"; HWTEST_F() local 861 std::string sql = "insert into " + tableName1 + " VALUES(1, 'zhangsan'), (2, 'lisi'), (3, 'wangwu');"; HWTEST_F() local 926 std::string sql = "insert into " + tableName + " VALUES(1, 'zhangsan'), (2, 'lisi'), (3, 'wangwu');"; HWTEST_F() local 982 std::string sql = "insert or replace into " + tableName + " VALUES('" + std::to_string(i) + "', 'zhangsan');"; InitLogicDeleteData() local 985 std::string sql = "update " + DBConstant::RELATIONAL_PREFIX + tableName + "_log" + " SET flag = flag | 0x08"; InitLogicDeleteData() local 991 std::string sql = "select count(*) from " + DBConstant::RELATIONAL_PREFIX + tableName + "_log" CheckLogicDeleteData() local 1295 std::string sql = "INSERT INTO " + tableName + " VALUES(" + std::to_string(i) + ", 'zhangsan" + InitDataStatus() local 1300 std::string sql = "UPDATE " + DBCommon::GetLogTableName(tableName) + " SET status=(CASE WHEN data_key<=" + InitDataStatus() local 1308 std::string sql = "SELECT count(1) FROM " + DBCommon::GetLogTableName(tableName) + " WHERE " + condition; CheckDataStatus() local 1403 std::string sql = "update " + DBCommon::GetLogTableName(tableName) + " SET status=0"; HWTEST_F() local 1436 std::string sql = "update " + tableName + " SET name='1' where id in (1,11,21,31)"; HWTEST_F() local 1465 std::string sql = "create table " + tableName + "(id INTEGER primary key, name TEXT);"; CreateTableForStoreObserver() local 1476 std::string sql = "begin;"; PrepareDataForStoreObserver() local [all...] |
| H A D | distributeddb_cloud_interfaces_set_cloud_schema_test.cpp | 196 std::string sql = "SELECT name FROM sqlite_master WHERE type = 'table' AND " \ in CheckSharedTable() local 218 std::string sql = "SELECT name FROM sqlite_master WHERE type = 'table' AND " \ in CheckDistributedSharedTable() local 243 string sql = ""; in InsertLocalSharedTableRecords() local 1285 std::string sql = "SELECT asset from " + g_sharedTableName1; in HWTEST_F() local 1416 std::string sql = "SELECT name FROM sqlite_master WHERE type = 'table' AND " \\ HWTEST_F() local 1462 std::string sql = "SELECT name FROM sqlite_master WHERE type = 'table' AND " \\ HWTEST_F() local 1554 std::string sql = QueryResourceCountSql(g_tableName2); HWTEST_F() local 1597 std::string sql = QueryResourceCountSql(g_tableName2); HWTEST_F() local 1660 std::string sql = "update " + tableName + " SET height='199';"; HWTEST_F() local 1673 std::string sql = QueryResourceCountSql(g_tableName2); HWTEST_F() local 1723 std::string sql = QueryResourceCountSql(g_tableName2); HWTEST_F() local 1780 std::string sql = "update " + tableName + " SET height='199';"; HWTEST_F() local 1793 std::string sql = QueryResourceCountSql(g_tableName2); HWTEST_F() local 1824 std::string sql = "update " + DBCommon::GetLogTableName(g_sharedTableName1) + " SET sharing_resource='199';"; HWTEST_F() local 1874 std::string sql = "SELECT COUNT(*) FROM " + DBCommon::GetLogTableName(g_tableName2) HWTEST_F() local 1933 std::string sql = QueryLogicDeleteCountSql(g_tableName2); HWTEST_F() local 1985 std::string sql = QueryResourceCountSql(g_sharedTableName1); HWTEST_F() local 2077 std::string sql = QueryAllCountSql(g_sharedTableName1); HWTEST_F() local 2129 std::string sql = "select count(*) from " + DBCommon::GetLogTableName(g_sharedTableName1) + HWTEST_F() local [all...] |
| H A D | distributeddb_interfaces_relational_test.cpp | 360 std::string sql = "CREATE TABLE TEST_" + std::to_string(i) + "(id INT PRIMARY KEY, value TEXT);"; in CreateDistributedTableOverLimitTest() local 1208 std::string sql = "CREATE TRIGGER IF NOT EXISTS " in AddErrorTrigger() local 1907 std::string sql = "create table " + t1 + "(key text, _rowid_ int);"; in HWTEST_F() local 1957 std::string sql = "create table " + t1 + "(key int, value text);"; HWTEST_F() local [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
| H A D | distributeddb_cloud_kv_syncer_test.cpp | 288 std::string sql = "SELECT count(*) FROM naturalbase_kv_aux_sync_data_log WHERE "; in CheckUploadAbnormal() local
|
| H A D | distributeddb_cloud_asset_compare_test.cpp | 146 const string sql = in CreateDB() local
|
| H A D | cloud_db_sync_utils_test.cpp | 73 void CloudDBSyncUtilsTest::CreateUserDBAndTable(sqlite3 *&db, std::string sql) in CreateUserDBAndTable() argument 158 string sql = "Delete from " + g_tables[i] + " where name = 'Cloud" + std::to_string(j) + "';"; in DeleteUserTableRecord() local 295 std::string sql = "select count(*) from " + tableName + ";"; in CheckLocalRecordNum() local 323 void CloudDBSyncUtilsTest::CheckCount(sqlite3 *db, const std::string &sql, int64_t count) in CheckCount() argument 333 std::string sql = "select hash_key from " + DBCommon::GetLogTableName(tableName) + " where " + condition; in GetHashKey() local [all...] |
| H A D | distributeddb_cloud_syncer_lock_test.cpp | 241 const string sql = "insert or replace into " + tableName + " values (?,?,?,?);"; in InsertLocalData() local 361 std::string sql; in TestConflictSync001() local 387 std::string sql = "SELECT asset, assets FROM " + ASSETS_TABLE_NAME + ";"; in CheckAssetStatusNormal() local 433 std::string sql = "SELECT count(*) FROM " + DBCommon::GetLogTableName(ASSETS_TABLE_NAME) + " WHERE "; CheckUploadAbnormal() local 477 std::string sql = "INSERT OR REPLACE INTO " + ASSETS_TABLE_NAME + " VALUES('0', 'XX', '', '');"; HWTEST_F() local 515 std::string sql = "select count(*) from " + DBCommon::GetLogTableName(ASSETS_TABLE_NAME) + HWTEST_F() local 569 std::string sql = "INSERT INTO " + ASSETS_TABLE_NAME + " VALUES('20', 'XXX', NULL, NULL);"; HWTEST_F() local 917 std::string sql = "select count(*) from " + DBCommon::GetLogTableName(ASSETS_TABLE_NAME) + HWTEST_F() local 957 std::string sql = "select count(*) from " + DBCommon::GetLogTableName(ASSETS_TABLE_NAME) + HWTEST_F() local 984 std::string sql = "SELECT asset, assets FROM " + ASSETS_TABLE_NAME + ";"; HWTEST_F() local 1040 std::string sql = "update " + ASSETS_TABLE_NAME + " set name = 'xxx' where id = 0;"; HWTEST_F() local 1150 std::string sql = "delete from " + ASSETS_TABLE_NAME + " where id = 0;"; HWTEST_F() local 1207 std::string sql = "UPDATE " + DBCommon::GetLogTableName(ASSETS_TABLE_NAME) + HWTEST_F() local [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/cloud/ |
| H A D | cloud_store_types.h | 179 std::string sql; // The sql statement; member
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
| H A D | distributeddb_relational_schema_object_test.cpp | 744 TableInfo GetTableInfo(sqlite3 *db, const std::string &tableName, const std::string &sql) in GetTableInfo() argument
|
| /foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
| H A D | rdb_step_result_set_test.cpp | 1937 auto sql = "create table if not exists 'table_-1' (id INTEGER PRIMARY KEY AUTOINCREMENT)";
in HWTEST_F() local
|
| /foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
| H A D | napi_transaction.cpp | 600 std::string sql; member 644 std::string sql; member
|
| /foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
| H A D | sqlite_statement.cpp | 97 void SqliteStatement::PrintInfoForDbError(int errCode, const std::string &sql) in PrintInfoForDbError() argument 193 int SqliteStatement::Prepare(const std::string &sql) in Prepare() argument [all...] |
| H A D | sqlite_sql_builder.cpp | 47 std::string sql; in BuildUpdateString() local 82 std::string sql; in BuildQueryString() local 201 std::string sql; BuildCursorQueryString() local 253 std::string sql; BuildLockRowQueryString() local 309 std::string sql = "INSERT OR REPLACE INTO " + table + " ("; GenerateSqls() local 329 MakeExecuteSqls(const std::string &sql, const std::vector<RefValue> &args, int fieldSize, int limit) MakeExecuteSqls() argument [all...] |
| /third_party/python/Modules/_sqlite/clinic/ |
| H A D | connection.c.h | 689 PyObject *sql; in pysqlite_connection_execute() local 731 PyObject *sql; in pysqlite_connection_executemany() local [all...] |
| /third_party/python/PC/ |
| H A D | _msi.c | 1052 _msi_Database_OpenView_impl(msiobj *self, const Py_UNICODE *sql) in _msi_Database_OpenView_impl() argument
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
| H A D | hlr_auc_gw.c | 123 const char *sql = in db_table_create_milenage() local
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
| H A D | hlr_auc_gw.c | 123 const char *sql = in db_table_create_milenage() local
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_datamanager_test/src/ |
| H A D | medialibrary_datamanager_test.cpp | 1215 string sql = "DELETE FROM " + ANALYSIS_ALBUM_TABLE; in ClearAnalysisAlbumTable() local
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
| H A D | medialibrary_analysis_album_operations.cpp | 274 string sql = BuildUpdateGroupPhotoAlbumSql(album); in UpdateGroupPhotoAlbumInfo() local 602 string sql = "UPDATE " + ANALYSIS_ALBUM_TABLE + " SET " + TAG_ID + " = '" + it.first + "', " + in UpdateForMergeGroupAlbums() local
|
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
| H A D | kvdb_general_store.cpp | 293 int32_t KVDBGeneralStore::Execute(const std::string &table, const std::string &sql) in Execute() argument 309 int32_t KVDBGeneralStore::Delete(const std::string &table, const std::string &sql, Values &&args) in Delete() argument 319 Query( __attribute__((unused)) const std::string &table, const std::string &sql, Values &&args) Query() argument
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
| H A D | sqlite_cloud_kv_executor_utils.cpp | 289 std::string sql = querySql; in GetLogInfoStmt() local 1060 std::string sql in CountCloudData() local 1018 CountCloudDataInner(sqlite3 *db, bool isMemory, const Timestamp ×tamp, const std::string &user, const std::string &sql) CountCloudDataInner() argument 1150 auto sql = SqliteQueryHelper::GetKvCloudRecordSql(); GetLocalCloudVersionInner() local 1255 std::string sql = SqliteQueryHelper::GetCloudVersionRecordSql(isDeviceEmpty); GetCloudVersionFromCloud() local [all...] |
| H A D | sqlite_cloud_kv_store.cpp | 663 std::string sql = "UPDATE " + tableName + " SET modify_time=? WHERE hash_key=? AND modify_time=?"; in ReviseLocalModTime() local
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/cloudsync_fuzzer/ |
| H A D | cloudsync_fuzzer.cpp | 92 static void ExecSql(sqlite3 *db, const std::string &sql) in ExecSql() argument
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
| H A D | distributeddb_single_ver_multi_sub_user_test.cpp | 342 const string sql = "insert or replace into " + tableName + " values (?,?,?,?);"; in InsertLocalData() local 681 std::string sql = "select count(*) from " + ASSETS_TABLE_NAME + ";"; in HWTEST_F() local
|