Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 0e46c90

Browse files
Shangjie ChenDingshilun
authored andcommitted
remove comments
1 parent b08fa9e commit 0e46c90

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/catalog/catalog.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -857,19 +857,6 @@ ResultType Catalog::ChangeColumnName(const std::string &database_name,
857857
// Change column name in the global schema
858858
schema->ChangeColumnName(columnId, names[0]);
859859

860-
// TODO: verify do we really need doing so
861-
// Modify all the tiles within the Data Table
862-
/*
863-
for (oid_t i = 0; i < table->GetTileGroupCount(); i++) {
864-
auto tile_group = table->GetTileGroup(i);
865-
for (oid_t j = 0; j < tile_group->GetNextTupleSlot(); j++) {
866-
// Change schema in the tiles
867-
auto tile = tile_group->GetTile(j);
868-
tile->ChangeColumnName(columnId, names[0]);
869-
}
870-
}
871-
*/
872-
873860
// Change cached ColumnCatalog
874861
oid_t table_oid = Catalog::GetInstance()
875862
->GetTableObject(database_name, table_name, txn)

0 commit comments

Comments
 (0)