Home
last modified time | relevance | path

Searched refs:newTableName (Results 1 - 4 of 4) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_utils.h164 static int CreateSameStuTable(sqlite3 *db, const TableInfo &baseTbl, const std::string &newTableName);
165 static int CloneIndexes(sqlite3 *db, const std::string &oriTableName, const std::string &newTableName);
H A Dsqlite_utils.cpp1517 int SQLiteUtils::CreateSameStuTable(sqlite3 *db, const TableInfo &baseTbl, const std::string &newTableName) in CreateSameStuTable() argument
1519 std::string sql = "CREATE TABLE IF NOT EXISTS '" + newTableName + "' ("; in CreateSameStuTable()
1554 int SQLiteUtils::CloneIndexes(sqlite3 *db, const std::string &oriTableName, const std::string &newTableName) in CloneIndexes() argument
1558 newTableName + "_' || il.name || ' ON ' || '" + newTableName + in CloneIndexes()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_relational_storage_engine.cpp858 for (const auto &[oldTableName, newTableName] : alterTableNames) { in DoAlterSharedTableName()
860 tableInfo.SetTableName(newTableName); in DoAlterSharedTableName()
/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_usage_database.cpp1211 string newTableName = tablePrefix + to_string(tableNewTime); in ExecuteRenameTableName() local
1212 string renameTableNameSql = "alter table " + oldTableName + " rename to " + newTableName; in ExecuteRenameTableName()

Completed in 11 milliseconds