diff --git a/src/binder/bind_create.cpp b/src/binder/bind_create.cpp index 17f605652..b7a3bc75f 100644 --- a/src/binder/bind_create.cpp +++ b/src/binder/bind_create.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bind_create.cpp +// +// Identification: src/binder/bind_create.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + //===----------------------------------------------------------------------===// // Copyright 2018-2022 Stichting DuckDB Foundation // diff --git a/src/binder/bind_insert.cpp b/src/binder/bind_insert.cpp index 2cd34d004..250b33dbb 100644 --- a/src/binder/bind_insert.cpp +++ b/src/binder/bind_insert.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bind_insert.cpp +// +// Identification: src/binder/bind_insert.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/src/binder/bind_select.cpp b/src/binder/bind_select.cpp index d9eac42e1..b629fa668 100644 --- a/src/binder/bind_select.cpp +++ b/src/binder/bind_select.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bind_select.cpp +// +// Identification: src/binder/bind_select.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/src/binder/bind_variable.cpp b/src/binder/bind_variable.cpp index 4b1bd39ee..be27d8b6b 100644 --- a/src/binder/bind_variable.cpp +++ b/src/binder/bind_variable.cpp @@ -1,3 +1,14 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bind_variable.cpp +// +// Identification: src/binder/bind_variable.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// #include #include "binder/binder.h" diff --git a/src/binder/binder.cpp b/src/binder/binder.cpp index 42a73ead2..d0d386f91 100644 --- a/src/binder/binder.cpp +++ b/src/binder/binder.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// binder.cpp +// +// Identification: src/binder/binder.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + //===----------------------------------------------------------------------===// // Copyright 2018-2022 Stichting DuckDB Foundation // diff --git a/src/binder/bound_statement.cpp b/src/binder/bound_statement.cpp index 414bc0a27..2675d36a2 100644 --- a/src/binder/bound_statement.cpp +++ b/src/binder/bound_statement.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_statement.cpp +// +// Identification: src/binder/bound_statement.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "binder/bound_statement.h" namespace bustub { diff --git a/src/binder/fmt_impl.cpp b/src/binder/fmt_impl.cpp index 4379c2d82..15303602a 100644 --- a/src/binder/fmt_impl.cpp +++ b/src/binder/fmt_impl.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// fmt_impl.cpp +// +// Identification: src/binder/fmt_impl.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "binder/binder.h" #include "binder/bound_expression.h" #include "binder/bound_order_by.h" diff --git a/src/binder/keyword_helper.cpp b/src/binder/keyword_helper.cpp index 72e5f6e10..eeab46405 100644 --- a/src/binder/keyword_helper.cpp +++ b/src/binder/keyword_helper.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// keyword_helper.cpp +// +// Identification: src/binder/keyword_helper.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + //===----------------------------------------------------------------------===// // Copyright 2018-2022 Stichting DuckDB Foundation // diff --git a/src/binder/node_tag_to_string.cpp b/src/binder/node_tag_to_string.cpp index c825e5642..3c4cdfe57 100644 --- a/src/binder/node_tag_to_string.cpp +++ b/src/binder/node_tag_to_string.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// node_tag_to_string.cpp +// +// Identification: src/binder/node_tag_to_string.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + //===----------------------------------------------------------------------===// // Copyright 2018-2022 Stichting DuckDB Foundation // diff --git a/src/binder/statement/create_statement.cpp b/src/binder/statement/create_statement.cpp index 53d54886f..78eaba59e 100644 --- a/src/binder/statement/create_statement.cpp +++ b/src/binder/statement/create_statement.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// create_statement.cpp +// +// Identification: src/binder/statement/create_statement.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "catalog/column.h" #include "fmt/ranges.h" diff --git a/src/binder/statement/delete_statement.cpp b/src/binder/statement/delete_statement.cpp index 8c0ab3340..bcc7bbcec 100644 --- a/src/binder/statement/delete_statement.cpp +++ b/src/binder/statement/delete_statement.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// delete_statement.cpp +// +// Identification: src/binder/statement/delete_statement.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "binder/statement/delete_statement.h" #include "fmt/core.h" diff --git a/src/binder/statement/explain_statement.cpp b/src/binder/statement/explain_statement.cpp index 249b926d1..6b0252901 100644 --- a/src/binder/statement/explain_statement.cpp +++ b/src/binder/statement/explain_statement.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// explain_statement.cpp +// +// Identification: src/binder/statement/explain_statement.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "binder/statement/explain_statement.h" #include "fmt/ranges.h" diff --git a/src/binder/statement/index_statement.cpp b/src/binder/statement/index_statement.cpp index 5595e0f43..b6cd8eda0 100644 --- a/src/binder/statement/index_statement.cpp +++ b/src/binder/statement/index_statement.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// index_statement.cpp +// +// Identification: src/binder/statement/index_statement.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "binder/statement/index_statement.h" #include "binder/bound_expression.h" #include "binder/expressions/bound_column_ref.h" diff --git a/src/binder/statement/insert_statement.cpp b/src/binder/statement/insert_statement.cpp index f403da95a..e732b213f 100644 --- a/src/binder/statement/insert_statement.cpp +++ b/src/binder/statement/insert_statement.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// insert_statement.cpp +// +// Identification: src/binder/statement/insert_statement.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "fmt/ranges.h" #include "binder/bound_expression.h" diff --git a/src/binder/statement/select_statement.cpp b/src/binder/statement/select_statement.cpp index e6e5eac2d..62d93c626 100644 --- a/src/binder/statement/select_statement.cpp +++ b/src/binder/statement/select_statement.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// select_statement.cpp +// +// Identification: src/binder/statement/select_statement.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include "binder/bound_order_by.h" diff --git a/src/binder/statement/update_statement.cpp b/src/binder/statement/update_statement.cpp index 63db180f3..57f8ef14e 100644 --- a/src/binder/statement/update_statement.cpp +++ b/src/binder/statement/update_statement.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// update_statement.cpp +// +// Identification: src/binder/statement/update_statement.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "fmt/ranges.h" #include "binder/statement/update_statement.h" diff --git a/src/binder/transformer.cpp b/src/binder/transformer.cpp index ff272751f..b8f8961e2 100644 --- a/src/binder/transformer.cpp +++ b/src/binder/transformer.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// transformer.cpp +// +// Identification: src/binder/transformer.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + //===----------------------------------------------------------------------===// // Copyright 2018-2022 Stichting DuckDB Foundation // diff --git a/src/buffer/buffer_pool_manager.cpp b/src/buffer/buffer_pool_manager.cpp index 1bb9a4d2c..ad2c3a7bb 100644 --- a/src/buffer/buffer_pool_manager.cpp +++ b/src/buffer/buffer_pool_manager.cpp @@ -6,7 +6,7 @@ // // Identification: src/buffer/buffer_pool_manager.cpp // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/buffer/clock_replacer.cpp b/src/buffer/clock_replacer.cpp index 049b8ad71..86b9d4d75 100644 --- a/src/buffer/clock_replacer.cpp +++ b/src/buffer/clock_replacer.cpp @@ -6,7 +6,7 @@ // // Identification: src/buffer/clock_replacer.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/buffer/lru_k_replacer.cpp b/src/buffer/lru_k_replacer.cpp index 0011b1bad..ff70087e1 100644 --- a/src/buffer/lru_k_replacer.cpp +++ b/src/buffer/lru_k_replacer.cpp @@ -6,7 +6,7 @@ // // Identification: src/buffer/lru_k_replacer.cpp // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/buffer/lru_replacer.cpp b/src/buffer/lru_replacer.cpp index 9553a87ed..869aedda2 100644 --- a/src/buffer/lru_replacer.cpp +++ b/src/buffer/lru_replacer.cpp @@ -6,7 +6,7 @@ // // Identification: src/buffer/lru_replacer.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/catalog/column.cpp b/src/catalog/column.cpp index b8b80ac74..02e2fbe6d 100644 --- a/src/catalog/column.cpp +++ b/src/catalog/column.cpp @@ -6,7 +6,7 @@ // // Identification: src/catalog/column.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/catalog/schema.cpp b/src/catalog/schema.cpp index 7ccebebc4..f7a820bd4 100644 --- a/src/catalog/schema.cpp +++ b/src/catalog/schema.cpp @@ -6,7 +6,7 @@ // // Identification: src/catalog/schema.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/catalog/table_generator.cpp b/src/catalog/table_generator.cpp index c05ceee3a..31d7069c7 100644 --- a/src/catalog/table_generator.cpp +++ b/src/catalog/table_generator.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// table_generator.cpp +// +// Identification: src/catalog/table_generator.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "catalog/table_generator.h" #include diff --git a/src/common/bustub_ddl.cpp b/src/common/bustub_ddl.cpp index 96e5f3b42..df267ccdf 100644 --- a/src/common/bustub_ddl.cpp +++ b/src/common/bustub_ddl.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bustub_ddl.cpp +// +// Identification: src/common/bustub_ddl.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + // DDL (Data Definition Language) statement handling in BusTub, including create table, create index, and set/show // variable. diff --git a/src/common/bustub_instance.cpp b/src/common/bustub_instance.cpp index 1f59a0fa2..f944215d3 100644 --- a/src/common/bustub_instance.cpp +++ b/src/common/bustub_instance.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bustub_instance.cpp +// +// Identification: src/common/bustub_instance.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/src/common/config.cpp b/src/common/config.cpp index 146f8f7f6..dd59ac789 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -6,7 +6,7 @@ // // Identification: src/common/config.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/common/util/string_util.cpp b/src/common/util/string_util.cpp index d7f9be114..0e6354416 100644 --- a/src/common/util/string_util.cpp +++ b/src/common/util/string_util.cpp @@ -6,7 +6,7 @@ // // Identification: src/common/util/string_util.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/concurrency/lock_manager.cpp b/src/concurrency/lock_manager.cpp index f6888e9ea..f6e9a3b1b 100644 --- a/src/concurrency/lock_manager.cpp +++ b/src/concurrency/lock_manager.cpp @@ -6,7 +6,7 @@ // // Identification: src/concurrency/lock_manager.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/concurrency/transaction_manager.cpp b/src/concurrency/transaction_manager.cpp index df34c10fd..3faa8cbb9 100644 --- a/src/concurrency/transaction_manager.cpp +++ b/src/concurrency/transaction_manager.cpp @@ -6,7 +6,7 @@ // // Identification: src/concurrency/transaction_manager.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/concurrency/transaction_manager_impl.cpp b/src/concurrency/transaction_manager_impl.cpp index f99339f90..77c78552e 100644 --- a/src/concurrency/transaction_manager_impl.cpp +++ b/src/concurrency/transaction_manager_impl.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// transaction_manager_impl.cpp +// +// Identification: src/concurrency/transaction_manager_impl.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + // DO NOT CHANGE THIS FILE, this file will not be included in the autograder. #include diff --git a/src/concurrency/watermark.cpp b/src/concurrency/watermark.cpp index 88fa39291..c8476c519 100644 --- a/src/concurrency/watermark.cpp +++ b/src/concurrency/watermark.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// watermark.cpp +// +// Identification: src/concurrency/watermark.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "concurrency/watermark.h" #include #include "common/exception.h" diff --git a/src/container/disk/hash/disk_extendible_hash_table.cpp b/src/container/disk/hash/disk_extendible_hash_table.cpp index 705532393..6cf8bd34b 100644 --- a/src/container/disk/hash/disk_extendible_hash_table.cpp +++ b/src/container/disk/hash/disk_extendible_hash_table.cpp @@ -6,7 +6,7 @@ // // Identification: src/container/disk/hash/disk_extendible_hash_table.cpp // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/container/disk/hash/disk_extendible_hash_table_utils.cpp b/src/container/disk/hash/disk_extendible_hash_table_utils.cpp index 39ecdc758..1039c70ec 100644 --- a/src/container/disk/hash/disk_extendible_hash_table_utils.cpp +++ b/src/container/disk/hash/disk_extendible_hash_table_utils.cpp @@ -6,7 +6,7 @@ // // Identification: src/container/disk/hash/disk_extendible_hash_table_utils.cpp // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/container/disk/hash/linear_probe_hash_table.cpp b/src/container/disk/hash/linear_probe_hash_table.cpp index 90f41c325..5764df332 100644 --- a/src/container/disk/hash/linear_probe_hash_table.cpp +++ b/src/container/disk/hash/linear_probe_hash_table.cpp @@ -4,9 +4,9 @@ // // linear_probe_hash_table.cpp // -// Identification: src/container/hash/linear_probe_hash_table.cpp +// Identification: src/container/disk/hash/linear_probe_hash_table.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/aggregation_executor.cpp b/src/execution/aggregation_executor.cpp index f82f84d3f..f38058f63 100644 --- a/src/execution/aggregation_executor.cpp +++ b/src/execution/aggregation_executor.cpp @@ -6,9 +6,10 @@ // // Identification: src/execution/aggregation_executor.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// + #include #include diff --git a/src/execution/delete_executor.cpp b/src/execution/delete_executor.cpp index 23ef92337..6f4d4eed1 100644 --- a/src/execution/delete_executor.cpp +++ b/src/execution/delete_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/delete_executor.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/execution_common.cpp b/src/execution/execution_common.cpp index cde9fe03c..0ae0bcd17 100644 --- a/src/execution/execution_common.cpp +++ b/src/execution/execution_common.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/execution_common.cpp // -// Copyright (c) 2024-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/executor_factory.cpp b/src/execution/executor_factory.cpp index bdc9a0391..4eb96e095 100644 --- a/src/execution/executor_factory.cpp +++ b/src/execution/executor_factory.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/executor_factory.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/external_merge_sort_executor.cpp b/src/execution/external_merge_sort_executor.cpp index 4feb647ad..592366823 100644 --- a/src/execution/external_merge_sort_executor.cpp +++ b/src/execution/external_merge_sort_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/external_merge_sort_executor.cpp // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/filter_executor.cpp b/src/execution/filter_executor.cpp index 7bd41537e..6ff2071f2 100644 --- a/src/execution/filter_executor.cpp +++ b/src/execution/filter_executor.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// filter_executor.cpp +// +// Identification: src/execution/filter_executor.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "execution/executors/filter_executor.h" #include "common/exception.h" #include "type/value_factory.h" diff --git a/src/execution/fmt_impl.cpp b/src/execution/fmt_impl.cpp index 3279118b7..6f9de3b0e 100644 --- a/src/execution/fmt_impl.cpp +++ b/src/execution/fmt_impl.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// fmt_impl.cpp +// +// Identification: src/execution/fmt_impl.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include "execution/expressions/column_value_expression.h" #include "execution/plans/update_plan.h" diff --git a/src/execution/hash_join_executor.cpp b/src/execution/hash_join_executor.cpp index 976f2af1e..728c3ea21 100644 --- a/src/execution/hash_join_executor.cpp +++ b/src/execution/hash_join_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/hash_join_executor.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/index_scan_executor.cpp b/src/execution/index_scan_executor.cpp index a8c263bb5..5b5bb5c70 100644 --- a/src/execution/index_scan_executor.cpp +++ b/src/execution/index_scan_executor.cpp @@ -6,9 +6,10 @@ // // Identification: src/execution/index_scan_executor.cpp // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// + #include "execution/executors/index_scan_executor.h" namespace bustub { diff --git a/src/execution/init_check_executor.cpp b/src/execution/init_check_executor.cpp index 1b898134e..f6e454633 100644 --- a/src/execution/init_check_executor.cpp +++ b/src/execution/init_check_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/init_check_executor.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/insert_executor.cpp b/src/execution/insert_executor.cpp index 20ded16cf..3c145c9d0 100644 --- a/src/execution/insert_executor.cpp +++ b/src/execution/insert_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/insert_executor.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/limit_executor.cpp b/src/execution/limit_executor.cpp index be8c1cdec..3ad0c19fa 100644 --- a/src/execution/limit_executor.cpp +++ b/src/execution/limit_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/limit_executor.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/mock_scan_executor.cpp b/src/execution/mock_scan_executor.cpp index d66a4814a..617793317 100644 --- a/src/execution/mock_scan_executor.cpp +++ b/src/execution/mock_scan_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/mock_scan_executor.cpp // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/nested_index_join_executor.cpp b/src/execution/nested_index_join_executor.cpp index da8531e05..33c9c3618 100644 --- a/src/execution/nested_index_join_executor.cpp +++ b/src/execution/nested_index_join_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/nested_index_join_executor.cpp // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/nested_loop_join_executor.cpp b/src/execution/nested_loop_join_executor.cpp index aac0d4b2d..17a99b350 100644 --- a/src/execution/nested_loop_join_executor.cpp +++ b/src/execution/nested_loop_join_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/nested_loop_join_executor.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/plan_node.cpp b/src/execution/plan_node.cpp index ed55226a0..5736044d7 100644 --- a/src/execution/plan_node.cpp +++ b/src/execution/plan_node.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// plan_node.cpp +// +// Identification: src/execution/plan_node.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/src/execution/projection_executor.cpp b/src/execution/projection_executor.cpp index ddf0ceb1c..2764f4b9b 100644 --- a/src/execution/projection_executor.cpp +++ b/src/execution/projection_executor.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// projection_executor.cpp +// +// Identification: src/execution/projection_executor.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "execution/executors/projection_executor.h" #include "storage/table/tuple.h" diff --git a/src/execution/seq_scan_executor.cpp b/src/execution/seq_scan_executor.cpp index 6a7de3c3d..aa357f7ac 100644 --- a/src/execution/seq_scan_executor.cpp +++ b/src/execution/seq_scan_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/seq_scan_executor.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/sort_executor.cpp b/src/execution/sort_executor.cpp index 464cad822..b42a2b63a 100644 --- a/src/execution/sort_executor.cpp +++ b/src/execution/sort_executor.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// sort_executor.cpp +// +// Identification: src/execution/sort_executor.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "execution/executors/sort_executor.h" namespace bustub { diff --git a/src/execution/topn_check_executor.cpp b/src/execution/topn_check_executor.cpp index 5bd1334ea..4cd55ae49 100644 --- a/src/execution/topn_check_executor.cpp +++ b/src/execution/topn_check_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/topn_check_executor.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/topn_executor.cpp b/src/execution/topn_executor.cpp index 490b60119..5f1bb0bb8 100644 --- a/src/execution/topn_executor.cpp +++ b/src/execution/topn_executor.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// topn_executor.cpp +// +// Identification: src/execution/topn_executor.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "execution/executors/topn_executor.h" namespace bustub { diff --git a/src/execution/topn_per_group_executor.cpp b/src/execution/topn_per_group_executor.cpp index b039d9f50..3daa13698 100644 --- a/src/execution/topn_per_group_executor.cpp +++ b/src/execution/topn_per_group_executor.cpp @@ -6,7 +6,7 @@ // // Identification: src/execution/topn_per_group_executor.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/execution/update_executor.cpp b/src/execution/update_executor.cpp index 40ffd00e9..692a6bd48 100644 --- a/src/execution/update_executor.cpp +++ b/src/execution/update_executor.cpp @@ -6,9 +6,10 @@ // // Identification: src/execution/update_executor.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// + #include #include "execution/executors/update_executor.h" diff --git a/src/execution/values_executor.cpp b/src/execution/values_executor.cpp index ac27e826a..64ea5326b 100644 --- a/src/execution/values_executor.cpp +++ b/src/execution/values_executor.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// values_executor.cpp +// +// Identification: src/execution/values_executor.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "execution/executors/values_executor.h" namespace bustub { diff --git a/src/execution/window_function_executor.cpp b/src/execution/window_function_executor.cpp index b32fc52e8..75897c0f3 100644 --- a/src/execution/window_function_executor.cpp +++ b/src/execution/window_function_executor.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// window_function_executor.cpp +// +// Identification: src/execution/window_function_executor.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "execution/executors/window_function_executor.h" #include "execution/plans/window_plan.h" #include "storage/table/tuple.h" diff --git a/src/include/binder/binder.h b/src/include/binder/binder.h index 8e47675c2..4d929ba08 100644 --- a/src/include/binder/binder.h +++ b/src/include/binder/binder.h @@ -1,8 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// bustub/binder/parser.h +// binder.h +// +// Identification: src/include/binder/binder.h // +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/bound_expression.h b/src/include/binder/bound_expression.h index 8d1ab079f..055c1d80b 100644 --- a/src/include/binder/bound_expression.h +++ b/src/include/binder/bound_expression.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_expression.h +// +// Identification: src/include/binder/bound_expression.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/bound_order_by.h b/src/include/binder/bound_order_by.h index 3cde5c7e5..ca908b0a1 100644 --- a/src/include/binder/bound_order_by.h +++ b/src/include/binder/bound_order_by.h @@ -1,8 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// bustub/binder/bound_order_by.h +// bound_order_by.h +// +// Identification: src/include/binder/bound_order_by.h // +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/bound_statement.h b/src/include/binder/bound_statement.h index 704796928..351bf9140 100644 --- a/src/include/binder/bound_statement.h +++ b/src/include/binder/bound_statement.h @@ -1,8 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// bustub/binder/sql_statement.h +// bound_statement.h +// +// Identification: src/include/binder/bound_statement.h // +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/bound_table_ref.h b/src/include/binder/bound_table_ref.h index 5dece9581..c01e208c2 100644 --- a/src/include/binder/bound_table_ref.h +++ b/src/include/binder/bound_table_ref.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_table_ref.h +// +// Identification: src/include/binder/bound_table_ref.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/expressions/bound_agg_call.h b/src/include/binder/expressions/bound_agg_call.h index 77ba797e4..b0628f02f 100644 --- a/src/include/binder/expressions/bound_agg_call.h +++ b/src/include/binder/expressions/bound_agg_call.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_agg_call.h +// +// Identification: src/include/binder/expressions/bound_agg_call.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/expressions/bound_alias.h b/src/include/binder/expressions/bound_alias.h index 380ae8030..2766a82d3 100644 --- a/src/include/binder/expressions/bound_alias.h +++ b/src/include/binder/expressions/bound_alias.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_alias.h +// +// Identification: src/include/binder/expressions/bound_alias.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/expressions/bound_binary_op.h b/src/include/binder/expressions/bound_binary_op.h index 3899f814f..8620b444f 100644 --- a/src/include/binder/expressions/bound_binary_op.h +++ b/src/include/binder/expressions/bound_binary_op.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_binary_op.h +// +// Identification: src/include/binder/expressions/bound_binary_op.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/expressions/bound_column_ref.h b/src/include/binder/expressions/bound_column_ref.h index 1e529aab3..62c0a858c 100644 --- a/src/include/binder/expressions/bound_column_ref.h +++ b/src/include/binder/expressions/bound_column_ref.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_column_ref.h +// +// Identification: src/include/binder/expressions/bound_column_ref.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/expressions/bound_constant.h b/src/include/binder/expressions/bound_constant.h index 987136374..e7ac42d75 100644 --- a/src/include/binder/expressions/bound_constant.h +++ b/src/include/binder/expressions/bound_constant.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_constant.h +// +// Identification: src/include/binder/expressions/bound_constant.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/expressions/bound_func_call.h b/src/include/binder/expressions/bound_func_call.h index cc0d0b984..dea383655 100644 --- a/src/include/binder/expressions/bound_func_call.h +++ b/src/include/binder/expressions/bound_func_call.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_func_call.h +// +// Identification: src/include/binder/expressions/bound_func_call.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/expressions/bound_star.h b/src/include/binder/expressions/bound_star.h index 860ee290e..3d460b38b 100644 --- a/src/include/binder/expressions/bound_star.h +++ b/src/include/binder/expressions/bound_star.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_star.h +// +// Identification: src/include/binder/expressions/bound_star.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/expressions/bound_unary_op.h b/src/include/binder/expressions/bound_unary_op.h index bdd22da3f..848ce092d 100644 --- a/src/include/binder/expressions/bound_unary_op.h +++ b/src/include/binder/expressions/bound_unary_op.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_unary_op.h +// +// Identification: src/include/binder/expressions/bound_unary_op.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/expressions/bound_window.h b/src/include/binder/expressions/bound_window.h index 8a5d7c620..1247a0db4 100644 --- a/src/include/binder/expressions/bound_window.h +++ b/src/include/binder/expressions/bound_window.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_window.h +// +// Identification: src/include/binder/expressions/bound_window.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/keyword_helper.h b/src/include/binder/keyword_helper.h index 3872e3291..a1b941b46 100644 --- a/src/include/binder/keyword_helper.h +++ b/src/include/binder/keyword_helper.h @@ -1,8 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// binder/keyword_helper.h +// keyword_helper.h +// +// Identification: src/include/binder/keyword_helper.h // +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/simplified_token.h b/src/include/binder/simplified_token.h index 43de7804e..053af8ddc 100644 --- a/src/include/binder/simplified_token.h +++ b/src/include/binder/simplified_token.h @@ -1,8 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// bustub/binder/simplified_token.h +// simplified_token.h +// +// Identification: src/include/binder/simplified_token.h // +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/statement/create_statement.h b/src/include/binder/statement/create_statement.h index 9878bc0dd..7ba82fac9 100644 --- a/src/include/binder/statement/create_statement.h +++ b/src/include/binder/statement/create_statement.h @@ -1,7 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// binder/create_statement.h +// create_statement.h +// +// Identification: src/include/binder/statement/create_statement.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/statement/delete_statement.h b/src/include/binder/statement/delete_statement.h index cb5a4dd38..0570373ea 100644 --- a/src/include/binder/statement/delete_statement.h +++ b/src/include/binder/statement/delete_statement.h @@ -1,7 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// binder/delete_statement.h +// delete_statement.h +// +// Identification: src/include/binder/statement/delete_statement.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/statement/explain_statement.h b/src/include/binder/statement/explain_statement.h index 84afb2818..9918ab7cb 100644 --- a/src/include/binder/statement/explain_statement.h +++ b/src/include/binder/statement/explain_statement.h @@ -1,7 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// binder/select_statement.h +// explain_statement.h +// +// Identification: src/include/binder/statement/explain_statement.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/statement/index_statement.h b/src/include/binder/statement/index_statement.h index d27f539d5..b6b26dbd1 100644 --- a/src/include/binder/statement/index_statement.h +++ b/src/include/binder/statement/index_statement.h @@ -1,7 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// binder/index_statement.h +// index_statement.h +// +// Identification: src/include/binder/statement/index_statement.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/statement/insert_statement.h b/src/include/binder/statement/insert_statement.h index c3bd15931..3ec5555ad 100644 --- a/src/include/binder/statement/insert_statement.h +++ b/src/include/binder/statement/insert_statement.h @@ -1,7 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// binder/insert_statement.h +// insert_statement.h +// +// Identification: src/include/binder/statement/insert_statement.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/statement/select_statement.h b/src/include/binder/statement/select_statement.h index fefa552c3..f9f2aedee 100644 --- a/src/include/binder/statement/select_statement.h +++ b/src/include/binder/statement/select_statement.h @@ -1,7 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// binder/select_statement.h +// select_statement.h +// +// Identification: src/include/binder/statement/select_statement.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/statement/set_show_statement.h b/src/include/binder/statement/set_show_statement.h index c15e4c8d2..616baaa5f 100644 --- a/src/include/binder/statement/set_show_statement.h +++ b/src/include/binder/statement/set_show_statement.h @@ -1,7 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// binder/set_get_statement.h +// set_show_statement.h +// +// Identification: src/include/binder/statement/set_show_statement.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/statement/update_statement.h b/src/include/binder/statement/update_statement.h index ef29bcc59..212af0832 100644 --- a/src/include/binder/statement/update_statement.h +++ b/src/include/binder/statement/update_statement.h @@ -1,7 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// binder/insert_statement.h +// update_statement.h +// +// Identification: src/include/binder/statement/update_statement.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/binder/table_ref/bound_base_table_ref.h b/src/include/binder/table_ref/bound_base_table_ref.h index cfaa03b6b..7b5d2908d 100644 --- a/src/include/binder/table_ref/bound_base_table_ref.h +++ b/src/include/binder/table_ref/bound_base_table_ref.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_base_table_ref.h +// +// Identification: src/include/binder/table_ref/bound_base_table_ref.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/table_ref/bound_cross_product_ref.h b/src/include/binder/table_ref/bound_cross_product_ref.h index 017f6599e..f905cc534 100644 --- a/src/include/binder/table_ref/bound_cross_product_ref.h +++ b/src/include/binder/table_ref/bound_cross_product_ref.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_cross_product_ref.h +// +// Identification: src/include/binder/table_ref/bound_cross_product_ref.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/table_ref/bound_cte_ref.h b/src/include/binder/table_ref/bound_cte_ref.h index 3beb3ad87..15858ddd4 100644 --- a/src/include/binder/table_ref/bound_cte_ref.h +++ b/src/include/binder/table_ref/bound_cte_ref.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_cte_ref.h +// +// Identification: src/include/binder/table_ref/bound_cte_ref.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/table_ref/bound_expression_list_ref.h b/src/include/binder/table_ref/bound_expression_list_ref.h index af2c82bd2..b586dac61 100644 --- a/src/include/binder/table_ref/bound_expression_list_ref.h +++ b/src/include/binder/table_ref/bound_expression_list_ref.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_expression_list_ref.h +// +// Identification: src/include/binder/table_ref/bound_expression_list_ref.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/table_ref/bound_join_ref.h b/src/include/binder/table_ref/bound_join_ref.h index b085f8b0e..0b8dab291 100644 --- a/src/include/binder/table_ref/bound_join_ref.h +++ b/src/include/binder/table_ref/bound_join_ref.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_join_ref.h +// +// Identification: src/include/binder/table_ref/bound_join_ref.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/table_ref/bound_subquery_ref.h b/src/include/binder/table_ref/bound_subquery_ref.h index 2effff977..85ad999f0 100644 --- a/src/include/binder/table_ref/bound_subquery_ref.h +++ b/src/include/binder/table_ref/bound_subquery_ref.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bound_subquery_ref.h +// +// Identification: src/include/binder/table_ref/bound_subquery_ref.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/binder/tokens.h b/src/include/binder/tokens.h index f2e5954fa..9fe3e6731 100644 --- a/src/include/binder/tokens.h +++ b/src/include/binder/tokens.h @@ -1,8 +1,12 @@ //===----------------------------------------------------------------------===// +// // BusTub // -// bustub/binder/tokens.h +// tokens.h +// +// Identification: src/include/binder/tokens.h // +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/buffer/buffer_pool_manager.h b/src/include/buffer/buffer_pool_manager.h index 40d9828a7..ae570a3bc 100644 --- a/src/include/buffer/buffer_pool_manager.h +++ b/src/include/buffer/buffer_pool_manager.h @@ -6,7 +6,7 @@ // // Identification: src/include/buffer/buffer_pool_manager.h // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/buffer/clock_replacer.h b/src/include/buffer/clock_replacer.h index 3e17c03d4..77a4b4e2b 100644 --- a/src/include/buffer/clock_replacer.h +++ b/src/include/buffer/clock_replacer.h @@ -6,7 +6,7 @@ // // Identification: src/include/buffer/clock_replacer.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/buffer/lru_k_replacer.h b/src/include/buffer/lru_k_replacer.h index cf68937ec..f4e303863 100644 --- a/src/include/buffer/lru_k_replacer.h +++ b/src/include/buffer/lru_k_replacer.h @@ -6,7 +6,7 @@ // // Identification: src/include/buffer/lru_k_replacer.h // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/buffer/lru_replacer.h b/src/include/buffer/lru_replacer.h index b8cfc17d5..c919fd4d8 100644 --- a/src/include/buffer/lru_replacer.h +++ b/src/include/buffer/lru_replacer.h @@ -6,7 +6,7 @@ // // Identification: src/include/buffer/lru_replacer.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/buffer/replacer.h b/src/include/buffer/replacer.h index 4ec9c7c05..61f2ffd5f 100644 --- a/src/include/buffer/replacer.h +++ b/src/include/buffer/replacer.h @@ -6,7 +6,7 @@ // // Identification: src/include/buffer/replacer.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/catalog/catalog.h b/src/include/catalog/catalog.h index 80ff3e984..f837fff93 100644 --- a/src/include/catalog/catalog.h +++ b/src/include/catalog/catalog.h @@ -6,7 +6,7 @@ // // Identification: src/include/catalog/catalog.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/catalog/column.h b/src/include/catalog/column.h index 58802db8f..db9e46824 100644 --- a/src/include/catalog/column.h +++ b/src/include/catalog/column.h @@ -6,7 +6,7 @@ // // Identification: src/include/catalog/column.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/catalog/schema.h b/src/include/catalog/schema.h index b4af1181a..1330d95b2 100644 --- a/src/include/catalog/schema.h +++ b/src/include/catalog/schema.h @@ -6,7 +6,7 @@ // // Identification: src/include/catalog/schema.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/catalog/table_generator.h b/src/include/catalog/table_generator.h index c4ce21088..8707a30f3 100644 --- a/src/include/catalog/table_generator.h +++ b/src/include/catalog/table_generator.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// table_generator.h +// +// Identification: src/include/catalog/table_generator.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/common/bustub_instance.h b/src/include/common/bustub_instance.h index 6da242b38..3894bf363 100644 --- a/src/include/common/bustub_instance.h +++ b/src/include/common/bustub_instance.h @@ -6,7 +6,7 @@ // // Identification: src/include/common/bustub_instance.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/common/channel.h b/src/include/common/channel.h index 8539a1898..379f7dbc7 100644 --- a/src/include/common/channel.h +++ b/src/include/common/channel.h @@ -6,7 +6,7 @@ // // Identification: src/include/common/channel.h // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/common/config.h b/src/include/common/config.h index be5a655b4..550f9338b 100644 --- a/src/include/common/config.h +++ b/src/include/common/config.h @@ -6,7 +6,7 @@ // // Identification: src/include/common/config.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/common/enums/statement_type.h b/src/include/common/enums/statement_type.h index 74270d356..1e03afd0c 100644 --- a/src/include/common/enums/statement_type.h +++ b/src/include/common/enums/statement_type.h @@ -4,9 +4,9 @@ // // statement_type.h // -// Identification: src/include/enums/statement_type.h +// Identification: src/include/common/enums/statement_type.h // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/common/exception.h b/src/include/common/exception.h index 3ac1f3171..3499d9d1a 100644 --- a/src/include/common/exception.h +++ b/src/include/common/exception.h @@ -6,7 +6,7 @@ // // Identification: src/include/common/exception.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/common/hash_util.h b/src/include/common/hash_util.h index a4b3a6b27..8af28591c 100644 --- a/src/include/common/hash_util.h +++ b/src/include/common/hash_util.h @@ -4,9 +4,9 @@ // // hash_util.h // -// Identification: src/include/common/util/hash_util.h +// Identification: src/include/common/hash_util.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/common/logger.h b/src/include/common/logger.h index d68f16ba5..bd87bf0cc 100644 --- a/src/include/common/logger.h +++ b/src/include/common/logger.h @@ -6,7 +6,7 @@ // // Identification: src/include/common/logger.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/common/macros.h b/src/include/common/macros.h index 3db3ba665..ad379aa43 100644 --- a/src/include/common/macros.h +++ b/src/include/common/macros.h @@ -6,7 +6,7 @@ // // Identification: src/include/common/macros.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/common/rid.h b/src/include/common/rid.h index 05b29abe0..fa51ca987 100644 --- a/src/include/common/rid.h +++ b/src/include/common/rid.h @@ -6,7 +6,7 @@ // // Identification: src/include/common/rid.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/common/rwlatch.h b/src/include/common/rwlatch.h index 7bf321d83..199ad399d 100644 --- a/src/include/common/rwlatch.h +++ b/src/include/common/rwlatch.h @@ -2,11 +2,11 @@ // // BusTub // -// rwmutex.h +// rwlatch.h // // Identification: src/include/common/rwlatch.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/common/util/hash_util.h b/src/include/common/util/hash_util.h index e584a9463..b040497c9 100644 --- a/src/include/common/util/hash_util.h +++ b/src/include/common/util/hash_util.h @@ -6,7 +6,7 @@ // // Identification: src/include/common/util/hash_util.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/common/util/string_util.h b/src/include/common/util/string_util.h index ec3bfac7c..627183c3f 100644 --- a/src/include/common/util/string_util.h +++ b/src/include/common/util/string_util.h @@ -6,7 +6,7 @@ // // Identification: src/include/common/util/string_util.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/concurrency/lock_manager.h b/src/include/concurrency/lock_manager.h index 837f19790..daf8f4d08 100644 --- a/src/include/concurrency/lock_manager.h +++ b/src/include/concurrency/lock_manager.h @@ -6,7 +6,7 @@ // // Identification: src/include/concurrency/lock_manager.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/concurrency/transaction.h b/src/include/concurrency/transaction.h index faa486aab..25e95d632 100644 --- a/src/include/concurrency/transaction.h +++ b/src/include/concurrency/transaction.h @@ -6,7 +6,7 @@ // // Identification: src/include/concurrency/transaction.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/concurrency/transaction_manager.h b/src/include/concurrency/transaction_manager.h index 0bf518f37..3b195490e 100644 --- a/src/include/concurrency/transaction_manager.h +++ b/src/include/concurrency/transaction_manager.h @@ -6,7 +6,7 @@ // // Identification: src/include/concurrency/transaction_manager.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/concurrency/watermark.h b/src/include/concurrency/watermark.h index c171cd668..b9ec9f25d 100644 --- a/src/include/concurrency/watermark.h +++ b/src/include/concurrency/watermark.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// watermark.h +// +// Identification: src/include/concurrency/watermark.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/container/disk/hash/disk_extendible_hash_table.h b/src/include/container/disk/hash/disk_extendible_hash_table.h index 608693998..d65d2b219 100644 --- a/src/include/container/disk/hash/disk_extendible_hash_table.h +++ b/src/include/container/disk/hash/disk_extendible_hash_table.h @@ -4,9 +4,9 @@ // // disk_extendible_hash_table.h // -// Identification: src/include/container/disk/hash/extendible_hash_table.h +// Identification: src/include/container/disk/hash/disk_extendible_hash_table.h // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/container/disk/hash/disk_hash_table.h b/src/include/container/disk/hash/disk_hash_table.h index 962b967ff..d16306240 100644 --- a/src/include/container/disk/hash/disk_hash_table.h +++ b/src/include/container/disk/hash/disk_hash_table.h @@ -2,11 +2,11 @@ // // BusTub // -// hash_table.h +// disk_hash_table.h // -// Identification: src/include/container/disk/hash/hash_table.h +// Identification: src/include/container/disk/hash/disk_hash_table.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/container/disk/hash/linear_probe_hash_table.h b/src/include/container/disk/hash/linear_probe_hash_table.h index 6bbd4efd1..021d9eb34 100644 --- a/src/include/container/disk/hash/linear_probe_hash_table.h +++ b/src/include/container/disk/hash/linear_probe_hash_table.h @@ -6,7 +6,7 @@ // // Identification: src/include/container/disk/hash/linear_probe_hash_table.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/container/hash/hash_function.h b/src/include/container/hash/hash_function.h index 2e1b1cbc2..1585d80be 100644 --- a/src/include/container/hash/hash_function.h +++ b/src/include/container/hash/hash_function.h @@ -6,7 +6,7 @@ // // Identification: src/include/container/hash/hash_function.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/container/hash/hash_table.h b/src/include/container/hash/hash_table.h index 2d526bb42..21ea6c941 100644 --- a/src/include/container/hash/hash_table.h +++ b/src/include/container/hash/hash_table.h @@ -2,13 +2,14 @@ // // BusTub // -// disk_hash_table.h +// hash_table.h // // Identification: src/include/container/hash/hash_table.h // -// Copyright (c) 2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// + /** * hash_table.h * diff --git a/src/include/execution/check_options.h b/src/include/execution/check_options.h index 854409133..5f82898b2 100644 --- a/src/include/execution/check_options.h +++ b/src/include/execution/check_options.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// check_options.h +// +// Identification: src/include/execution/check_options.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + // Copyright 2022 RisingLight Project Authors // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/include/execution/execution_common.h b/src/include/execution/execution_common.h index f7e8d25ee..c1fd3d743 100644 --- a/src/include/execution/execution_common.h +++ b/src/include/execution/execution_common.h @@ -6,9 +6,10 @@ // // Identification: src/include/execution/execution_common.h // -// Copyright (c) 2014-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/execution/execution_engine.h b/src/include/execution/execution_engine.h index b9bedbbf7..16412c3f2 100644 --- a/src/include/execution/execution_engine.h +++ b/src/include/execution/execution_engine.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/execution_engine.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executor_context.h b/src/include/execution/executor_context.h index f61a10046..7f1d84225 100644 --- a/src/include/execution/executor_context.h +++ b/src/include/execution/executor_context.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executor_context.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executor_factory.h b/src/include/execution/executor_factory.h index 96bb4dac1..38f6b607f 100644 --- a/src/include/execution/executor_factory.h +++ b/src/include/execution/executor_factory.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executor_factory.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/abstract_executor.h b/src/include/execution/executors/abstract_executor.h index d4aaf41de..dca7130ff 100644 --- a/src/include/execution/executors/abstract_executor.h +++ b/src/include/execution/executors/abstract_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/abstract_executor.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/aggregation_executor.h b/src/include/execution/executors/aggregation_executor.h index 5fababad7..470e75f16 100644 --- a/src/include/execution/executors/aggregation_executor.h +++ b/src/include/execution/executors/aggregation_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/aggregation_executor.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/delete_executor.h b/src/include/execution/executors/delete_executor.h index 747cd8619..725cd1b82 100644 --- a/src/include/execution/executors/delete_executor.h +++ b/src/include/execution/executors/delete_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/delete_executor.h // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/external_merge_sort_executor.h b/src/include/execution/executors/external_merge_sort_executor.h index 160221115..4df4e9a39 100644 --- a/src/include/execution/executors/external_merge_sort_executor.h +++ b/src/include/execution/executors/external_merge_sort_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/external_merge_sort_executor.h // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/filter_executor.h b/src/include/execution/executors/filter_executor.h index 441767c93..3359e86d7 100644 --- a/src/include/execution/executors/filter_executor.h +++ b/src/include/execution/executors/filter_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/filter_executor.h // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/hash_join_executor.h b/src/include/execution/executors/hash_join_executor.h index 422e584de..0a87f6659 100644 --- a/src/include/execution/executors/hash_join_executor.h +++ b/src/include/execution/executors/hash_join_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/hash_join_executor.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/index_scan_executor.h b/src/include/execution/executors/index_scan_executor.h index 7609b44c4..eb8f537f7 100644 --- a/src/include/execution/executors/index_scan_executor.h +++ b/src/include/execution/executors/index_scan_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/index_scan_executor.h // -// Copyright (c) 2015-20, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/init_check_executor.h b/src/include/execution/executors/init_check_executor.h index 9a474fc71..6f3d3abbe 100644 --- a/src/include/execution/executors/init_check_executor.h +++ b/src/include/execution/executors/init_check_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/init_check_executor.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/insert_executor.h b/src/include/execution/executors/insert_executor.h index 740376afa..a68aacd14 100644 --- a/src/include/execution/executors/insert_executor.h +++ b/src/include/execution/executors/insert_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/insert_executor.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/limit_executor.h b/src/include/execution/executors/limit_executor.h index ddabf8946..f6030b4fd 100644 --- a/src/include/execution/executors/limit_executor.h +++ b/src/include/execution/executors/limit_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/limit_executor.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/mock_scan_executor.h b/src/include/execution/executors/mock_scan_executor.h index 85c30e5f5..98faa7c4a 100644 --- a/src/include/execution/executors/mock_scan_executor.h +++ b/src/include/execution/executors/mock_scan_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/mock_scan_executor.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/nested_index_join_executor.h b/src/include/execution/executors/nested_index_join_executor.h index b920b985c..6237c0cdc 100644 --- a/src/include/execution/executors/nested_index_join_executor.h +++ b/src/include/execution/executors/nested_index_join_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/nested_index_join_executor.h // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/nested_loop_join_executor.h b/src/include/execution/executors/nested_loop_join_executor.h index 623b9d0ff..8925e3cf9 100644 --- a/src/include/execution/executors/nested_loop_join_executor.h +++ b/src/include/execution/executors/nested_loop_join_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/nested_loop_join_executor.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/projection_executor.h b/src/include/execution/executors/projection_executor.h index 785ea389a..da2d64fa9 100644 --- a/src/include/execution/executors/projection_executor.h +++ b/src/include/execution/executors/projection_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/projection_executor.h // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/seq_scan_executor.h b/src/include/execution/executors/seq_scan_executor.h index 80f4fb328..d2c1f52df 100644 --- a/src/include/execution/executors/seq_scan_executor.h +++ b/src/include/execution/executors/seq_scan_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/seq_scan_executor.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/sort_executor.h b/src/include/execution/executors/sort_executor.h index 5e346c162..62b27515b 100644 --- a/src/include/execution/executors/sort_executor.h +++ b/src/include/execution/executors/sort_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/sort_executor.h // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/topn_check_executor.h b/src/include/execution/executors/topn_check_executor.h index db2429c09..a07d57ae7 100644 --- a/src/include/execution/executors/topn_check_executor.h +++ b/src/include/execution/executors/topn_check_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/topn_check_executor.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/topn_executor.h b/src/include/execution/executors/topn_executor.h index 330091b94..0ae7f1cd9 100644 --- a/src/include/execution/executors/topn_executor.h +++ b/src/include/execution/executors/topn_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/topn_executor.h // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/topn_per_group_executor.h b/src/include/execution/executors/topn_per_group_executor.h index 861af899e..cda52669e 100644 --- a/src/include/execution/executors/topn_per_group_executor.h +++ b/src/include/execution/executors/topn_per_group_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/topn_per_group_executor.h // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/update_executor.h b/src/include/execution/executors/update_executor.h index 3c7c4ab9f..8b8a70a7c 100644 --- a/src/include/execution/executors/update_executor.h +++ b/src/include/execution/executors/update_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/update_executor.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/values_executor.h b/src/include/execution/executors/values_executor.h index 5917f724f..6b81bcfb3 100644 --- a/src/include/execution/executors/values_executor.h +++ b/src/include/execution/executors/values_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/values_executor.h // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/executors/window_function_executor.h b/src/include/execution/executors/window_function_executor.h index 8958c4f34..94158966a 100644 --- a/src/include/execution/executors/window_function_executor.h +++ b/src/include/execution/executors/window_function_executor.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/executors/window_function_executor.h // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/expressions/abstract_expression.h b/src/include/execution/expressions/abstract_expression.h index 96d84fbf7..6ffa2795e 100644 --- a/src/include/execution/expressions/abstract_expression.h +++ b/src/include/execution/expressions/abstract_expression.h @@ -4,9 +4,9 @@ // // abstract_expression.h // -// Identification: src/include/expression/abstract_expression.h +// Identification: src/include/execution/expressions/abstract_expression.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/expressions/arithmetic_expression.h b/src/include/execution/expressions/arithmetic_expression.h index cae3aab97..ece18028c 100644 --- a/src/include/execution/expressions/arithmetic_expression.h +++ b/src/include/execution/expressions/arithmetic_expression.h @@ -4,9 +4,9 @@ // // arithmetic_expression.h // -// Identification: src/include/expression/arithmetic_expression.h +// Identification: src/include/execution/expressions/arithmetic_expression.h // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/expressions/array_expression.h b/src/include/execution/expressions/array_expression.h index b3965cb27..5142c4b46 100644 --- a/src/include/execution/expressions/array_expression.h +++ b/src/include/execution/expressions/array_expression.h @@ -2,11 +2,11 @@ // // BusTub // -// constant_value_expression.h +// array_expression.h // -// Identification: src/include/expression/constant_value_expression.h +// Identification: src/include/execution/expressions/array_expression.h // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/expressions/column_value_expression.h b/src/include/execution/expressions/column_value_expression.h index 710e7f5d3..60053e46b 100644 --- a/src/include/execution/expressions/column_value_expression.h +++ b/src/include/execution/expressions/column_value_expression.h @@ -4,9 +4,9 @@ // // column_value_expression.h // -// Identification: src/include/expression/column_value_expression.h +// Identification: src/include/execution/expressions/column_value_expression.h // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/expressions/comparison_expression.h b/src/include/execution/expressions/comparison_expression.h index 1a3898864..25007e455 100644 --- a/src/include/execution/expressions/comparison_expression.h +++ b/src/include/execution/expressions/comparison_expression.h @@ -4,9 +4,9 @@ // // comparison_expression.h // -// Identification: src/include/expression/comparison_expression.h +// Identification: src/include/execution/expressions/comparison_expression.h // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/expressions/constant_value_expression.h b/src/include/execution/expressions/constant_value_expression.h index 08f4a03ce..ab64287de 100644 --- a/src/include/execution/expressions/constant_value_expression.h +++ b/src/include/execution/expressions/constant_value_expression.h @@ -4,9 +4,9 @@ // // constant_value_expression.h // -// Identification: src/include/expression/constant_value_expression.h +// Identification: src/include/execution/expressions/constant_value_expression.h // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/expressions/logic_expression.h b/src/include/execution/expressions/logic_expression.h index bc82ae8ba..810c1f162 100644 --- a/src/include/execution/expressions/logic_expression.h +++ b/src/include/execution/expressions/logic_expression.h @@ -4,9 +4,9 @@ // // logic_expression.h // -// Identification: src/include/expression/logic_expression.h +// Identification: src/include/execution/expressions/logic_expression.h // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/expressions/string_expression.h b/src/include/execution/expressions/string_expression.h index ce3d874ca..cf5fbd00a 100644 --- a/src/include/execution/expressions/string_expression.h +++ b/src/include/execution/expressions/string_expression.h @@ -4,9 +4,9 @@ // // string_expression.h // -// Identification: src/include/expression/string_expression.h +// Identification: src/include/execution/expressions/string_expression.h // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/abstract_plan.h b/src/include/execution/plans/abstract_plan.h index 369b12a64..93470b636 100644 --- a/src/include/execution/plans/abstract_plan.h +++ b/src/include/execution/plans/abstract_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/abstract_plan.h // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/aggregation_plan.h b/src/include/execution/plans/aggregation_plan.h index ed6a1b8cf..d143ad5ca 100644 --- a/src/include/execution/plans/aggregation_plan.h +++ b/src/include/execution/plans/aggregation_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/aggregation_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/delete_plan.h b/src/include/execution/plans/delete_plan.h index 9631698d6..65c51d081 100644 --- a/src/include/execution/plans/delete_plan.h +++ b/src/include/execution/plans/delete_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/delete_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/filter_plan.h b/src/include/execution/plans/filter_plan.h index fc9fec006..37ec9dc52 100644 --- a/src/include/execution/plans/filter_plan.h +++ b/src/include/execution/plans/filter_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/filter_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/hash_join_plan.h b/src/include/execution/plans/hash_join_plan.h index 6500f567a..8d5dd5361 100644 --- a/src/include/execution/plans/hash_join_plan.h +++ b/src/include/execution/plans/hash_join_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/hash_join_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/index_scan_plan.h b/src/include/execution/plans/index_scan_plan.h index f0768facb..ac585df3c 100644 --- a/src/include/execution/plans/index_scan_plan.h +++ b/src/include/execution/plans/index_scan_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/index_scan_plan.h // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/insert_plan.h b/src/include/execution/plans/insert_plan.h index efb944a4a..b5f804cc1 100644 --- a/src/include/execution/plans/insert_plan.h +++ b/src/include/execution/plans/insert_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/insert_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/limit_plan.h b/src/include/execution/plans/limit_plan.h index dc9bf556e..4a5dafe7c 100644 --- a/src/include/execution/plans/limit_plan.h +++ b/src/include/execution/plans/limit_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/limit_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/mock_scan_plan.h b/src/include/execution/plans/mock_scan_plan.h index 1660dc918..4499e517c 100644 --- a/src/include/execution/plans/mock_scan_plan.h +++ b/src/include/execution/plans/mock_scan_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/mock_scan_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/nested_index_join_plan.h b/src/include/execution/plans/nested_index_join_plan.h index 9693ca87b..75c151358 100644 --- a/src/include/execution/plans/nested_index_join_plan.h +++ b/src/include/execution/plans/nested_index_join_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/nested_index_join_plan.h // -// Copyright (c) 2015-19, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/nested_loop_join_plan.h b/src/include/execution/plans/nested_loop_join_plan.h index 12d36fa9e..caba843b5 100644 --- a/src/include/execution/plans/nested_loop_join_plan.h +++ b/src/include/execution/plans/nested_loop_join_plan.h @@ -2,11 +2,11 @@ // // BusTub // -// nested_loop_join.h +// nested_loop_join_plan.h // -// Identification: src/include/execution/plans/nested_loop_join.h +// Identification: src/include/execution/plans/nested_loop_join_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/projection_plan.h b/src/include/execution/plans/projection_plan.h index 07aa729ca..34308d684 100644 --- a/src/include/execution/plans/projection_plan.h +++ b/src/include/execution/plans/projection_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/projection_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/seq_scan_plan.h b/src/include/execution/plans/seq_scan_plan.h index 9caf4603f..107e698b4 100644 --- a/src/include/execution/plans/seq_scan_plan.h +++ b/src/include/execution/plans/seq_scan_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/seq_scan_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/sort_plan.h b/src/include/execution/plans/sort_plan.h index 902d00294..432464683 100644 --- a/src/include/execution/plans/sort_plan.h +++ b/src/include/execution/plans/sort_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/sort_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/topn_per_group_plan.h b/src/include/execution/plans/topn_per_group_plan.h index 57f543320..4b03f3925 100644 --- a/src/include/execution/plans/topn_per_group_plan.h +++ b/src/include/execution/plans/topn_per_group_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/topn_per_group_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/topn_plan.h b/src/include/execution/plans/topn_plan.h index 04a3079a8..d92f5fa56 100644 --- a/src/include/execution/plans/topn_plan.h +++ b/src/include/execution/plans/topn_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/topn_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/update_plan.h b/src/include/execution/plans/update_plan.h index 628eab2f9..745a5cabb 100644 --- a/src/include/execution/plans/update_plan.h +++ b/src/include/execution/plans/update_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/update_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/values_plan.h b/src/include/execution/plans/values_plan.h index 496866246..56648e59a 100644 --- a/src/include/execution/plans/values_plan.h +++ b/src/include/execution/plans/values_plan.h @@ -6,7 +6,7 @@ // // Identification: src/include/execution/plans/values_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/execution/plans/window_plan.h b/src/include/execution/plans/window_plan.h index 9790db3cf..50ff60728 100644 --- a/src/include/execution/plans/window_plan.h +++ b/src/include/execution/plans/window_plan.h @@ -2,11 +2,11 @@ // // BusTub // -// aggregation_plan.h +// window_plan.h // -// Identification: src/include/execution/plans/aggregation_plan.h +// Identification: src/include/execution/plans/window_plan.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/optimizer/optimizer.h b/src/include/optimizer/optimizer.h index cdea8e7f1..b37baa2a2 100644 --- a/src/include/optimizer/optimizer.h +++ b/src/include/optimizer/optimizer.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// optimizer.h +// +// Identification: src/include/optimizer/optimizer.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/optimizer/optimizer_internal.h b/src/include/optimizer/optimizer_internal.h index 5bcb01001..66b8ba339 100644 --- a/src/include/optimizer/optimizer_internal.h +++ b/src/include/optimizer/optimizer_internal.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// optimizer_internal.h +// +// Identification: src/include/optimizer/optimizer_internal.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once namespace bustub { diff --git a/src/include/planner/planner.h b/src/include/planner/planner.h index d64347e32..2e256711b 100644 --- a/src/include/planner/planner.h +++ b/src/include/planner/planner.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// planner.h +// +// Identification: src/include/planner/planner.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/primer/hyperloglog.h b/src/include/primer/hyperloglog.h index 339ae0206..e6bb0cc87 100644 --- a/src/include/primer/hyperloglog.h +++ b/src/include/primer/hyperloglog.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// hyperloglog.h +// +// Identification: src/include/primer/hyperloglog.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/primer/hyperloglog_presto.h b/src/include/primer/hyperloglog_presto.h index 6ff814693..ff98cfd4f 100644 --- a/src/include/primer/hyperloglog_presto.h +++ b/src/include/primer/hyperloglog_presto.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// hyperloglog_presto.h +// +// Identification: src/include/primer/hyperloglog_presto.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/primer/orset.h b/src/include/primer/orset.h index c2923164c..607e2df99 100644 --- a/src/include/primer/orset.h +++ b/src/include/primer/orset.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// orset.h +// +// Identification: src/include/primer/orset.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/primer/orset_driver.h b/src/include/primer/orset_driver.h index c21416aef..cd01f9106 100644 --- a/src/include/primer/orset_driver.h +++ b/src/include/primer/orset_driver.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// orset_driver.h +// +// Identification: src/include/primer/orset_driver.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/primer/trie.h b/src/include/primer/trie.h index 9f8abef14..9925be3c2 100644 --- a/src/include/primer/trie.h +++ b/src/include/primer/trie.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// trie.h +// +// Identification: src/include/primer/trie.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/primer/trie_answer.h b/src/include/primer/trie_answer.h index aab3a2ca2..547834d8c 100644 --- a/src/include/primer/trie_answer.h +++ b/src/include/primer/trie_answer.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// trie_answer.h +// +// Identification: src/include/primer/trie_answer.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "primer/trie.h" // TODO(student): fill your answer here diff --git a/src/include/primer/trie_store.h b/src/include/primer/trie_store.h index 9780a736e..c8ef18bc4 100644 --- a/src/include/primer/trie_store.h +++ b/src/include/primer/trie_store.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// trie_store.h +// +// Identification: src/include/primer/trie_store.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/recovery/checkpoint_manager.h b/src/include/recovery/checkpoint_manager.h index 4b7e5e3cf..0ebe39eec 100644 --- a/src/include/recovery/checkpoint_manager.h +++ b/src/include/recovery/checkpoint_manager.h @@ -6,7 +6,7 @@ // // Identification: src/include/recovery/checkpoint_manager.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/recovery/log_manager.h b/src/include/recovery/log_manager.h index 517bf1c72..5bfd069c7 100644 --- a/src/include/recovery/log_manager.h +++ b/src/include/recovery/log_manager.h @@ -6,7 +6,7 @@ // // Identification: src/include/recovery/log_manager.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/recovery/log_record.h b/src/include/recovery/log_record.h index 9601f037d..0fb616ecb 100644 --- a/src/include/recovery/log_record.h +++ b/src/include/recovery/log_record.h @@ -6,7 +6,7 @@ // // Identification: src/include/recovery/log_record.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/recovery/log_recovery.h b/src/include/recovery/log_recovery.h index 5a5ababbf..a7927b81f 100644 --- a/src/include/recovery/log_recovery.h +++ b/src/include/recovery/log_recovery.h @@ -6,7 +6,7 @@ // // Identification: src/include/recovery/log_recovery.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/disk/disk_manager.h b/src/include/storage/disk/disk_manager.h index 36faa9b95..8fd28d488 100644 --- a/src/include/storage/disk/disk_manager.h +++ b/src/include/storage/disk/disk_manager.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/disk/disk_manager.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/disk/disk_manager_memory.h b/src/include/storage/disk/disk_manager_memory.h index b27ce3e04..3dd691f05 100644 --- a/src/include/storage/disk/disk_manager_memory.h +++ b/src/include/storage/disk/disk_manager_memory.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/disk/disk_manager_memory.h // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/disk/disk_scheduler.h b/src/include/storage/disk/disk_scheduler.h index e65984d9c..3b6408da6 100644 --- a/src/include/storage/disk/disk_scheduler.h +++ b/src/include/storage/disk/disk_scheduler.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/disk/disk_scheduler.h // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/index/b_plus_tree.h b/src/include/storage/index/b_plus_tree.h index 8ef65c195..37bc16193 100644 --- a/src/include/storage/index/b_plus_tree.h +++ b/src/include/storage/index/b_plus_tree.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// b_plus_tree.h +// +// Identification: src/include/storage/index/b_plus_tree.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + /** * b_plus_tree.h * diff --git a/src/include/storage/index/b_plus_tree_debug.h b/src/include/storage/index/b_plus_tree_debug.h index d549900b8..b2171b803 100644 --- a/src/include/storage/index/b_plus_tree_debug.h +++ b/src/include/storage/index/b_plus_tree_debug.h @@ -4,9 +4,9 @@ // // b_plus_tree_debug.h // -// Identification: bustub/src/include/storage/index/b_plus_tree_debug.h +// Identification: src/include/storage/index/b_plus_tree_debug.h // -// Copyright (c) 2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/index/b_plus_tree_index.h b/src/include/storage/index/b_plus_tree_index.h index fefcb7def..2dad74ed9 100644 --- a/src/include/storage/index/b_plus_tree_index.h +++ b/src/include/storage/index/b_plus_tree_index.h @@ -1,11 +1,12 @@ //===----------------------------------------------------------------------===// // -// CMU-DB Project (15-445/645) -// ***DO NO SHARE PUBLICLY*** +// BusTub // -// Identification: src/include/index/b_plus_tree_index.h +// b_plus_tree_index.h // -// Copyright (c) 2018, Carnegie Mellon University Database Group +// Identification: src/include/storage/index/b_plus_tree_index.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/index/extendible_hash_table_index.h b/src/include/storage/index/extendible_hash_table_index.h index 4fd736bf8..38ab5c2b6 100644 --- a/src/include/storage/index/extendible_hash_table_index.h +++ b/src/include/storage/index/extendible_hash_table_index.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/index/extendible_hash_table_index.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/index/generic_key.h b/src/include/storage/index/generic_key.h index a20f5bbac..7771322fc 100644 --- a/src/include/storage/index/generic_key.h +++ b/src/include/storage/index/generic_key.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/index/generic_key.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/index/hash_comparator.h b/src/include/storage/index/hash_comparator.h index b60aea61c..abbaf1399 100644 --- a/src/include/storage/index/hash_comparator.h +++ b/src/include/storage/index/hash_comparator.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/index/hash_comparator.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/index/index.h b/src/include/storage/index/index.h index 60277d037..2e5deb3e6 100644 --- a/src/include/storage/index/index.h +++ b/src/include/storage/index/index.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/index/index.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/index/index_iterator.h b/src/include/storage/index/index_iterator.h index df0884aef..72c0519ed 100644 --- a/src/include/storage/index/index_iterator.h +++ b/src/include/storage/index/index_iterator.h @@ -1,13 +1,15 @@ //===----------------------------------------------------------------------===// // -// CMU-DB Project (15-445/645) -// ***DO NO SHARE PUBLICLY*** +// BusTub // -// Identification: src/include/index/index_iterator.h +// index_iterator.h // -// Copyright (c) 2018, Carnegie Mellon University Database Group +// Identification: src/include/storage/index/index_iterator.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// + /** * index_iterator.h * For range scan of b+ tree diff --git a/src/include/storage/index/int_comparator.h b/src/include/storage/index/int_comparator.h index e22842e53..1c6075160 100644 --- a/src/include/storage/index/int_comparator.h +++ b/src/include/storage/index/int_comparator.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/index/int_comparator.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/index/linear_probe_hash_table_index.h b/src/include/storage/index/linear_probe_hash_table_index.h index 330d8b637..56eca3d41 100644 --- a/src/include/storage/index/linear_probe_hash_table_index.h +++ b/src/include/storage/index/linear_probe_hash_table_index.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/index/linear_probe_hash_table_index.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/index/stl_comparator_wrapper.h b/src/include/storage/index/stl_comparator_wrapper.h index aefd1b7c0..ee6b8aec4 100644 --- a/src/include/storage/index/stl_comparator_wrapper.h +++ b/src/include/storage/index/stl_comparator_wrapper.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// stl_comparator_wrapper.h +// +// Identification: src/include/storage/index/stl_comparator_wrapper.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once namespace bustub { diff --git a/src/include/storage/index/stl_equal_wrapper.h b/src/include/storage/index/stl_equal_wrapper.h index 74badf199..c48efe6e8 100644 --- a/src/include/storage/index/stl_equal_wrapper.h +++ b/src/include/storage/index/stl_equal_wrapper.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// stl_equal_wrapper.h +// +// Identification: src/include/storage/index/stl_equal_wrapper.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once namespace bustub { diff --git a/src/include/storage/index/stl_hasher_wrapper.h b/src/include/storage/index/stl_hasher_wrapper.h index 881bf876e..8f7b3497a 100644 --- a/src/include/storage/index/stl_hasher_wrapper.h +++ b/src/include/storage/index/stl_hasher_wrapper.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// stl_hasher_wrapper.h +// +// Identification: src/include/storage/index/stl_hasher_wrapper.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include "container/hash/hash_function.h" diff --git a/src/include/storage/index/stl_ordered.h b/src/include/storage/index/stl_ordered.h index 526036897..755ab5111 100644 --- a/src/include/storage/index/stl_ordered.h +++ b/src/include/storage/index/stl_ordered.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// stl_ordered.h +// +// Identification: src/include/storage/index/stl_ordered.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/storage/index/stl_unordered.h b/src/include/storage/index/stl_unordered.h index fee68f312..ac81c1f24 100644 --- a/src/include/storage/index/stl_unordered.h +++ b/src/include/storage/index/stl_unordered.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// stl_unordered.h +// +// Identification: src/include/storage/index/stl_unordered.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/storage/page/b_plus_tree_header_page.h b/src/include/storage/page/b_plus_tree_header_page.h index 67e59c2e9..1921c21fc 100644 --- a/src/include/storage/page/b_plus_tree_header_page.h +++ b/src/include/storage/page/b_plus_tree_header_page.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// b_plus_tree_header_page.h +// +// Identification: src/include/storage/page/b_plus_tree_header_page.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include "common/config.h" diff --git a/src/include/storage/page/b_plus_tree_internal_page.h b/src/include/storage/page/b_plus_tree_internal_page.h index c5e8d1949..7530c1b67 100644 --- a/src/include/storage/page/b_plus_tree_internal_page.h +++ b/src/include/storage/page/b_plus_tree_internal_page.h @@ -1,13 +1,15 @@ //===----------------------------------------------------------------------===// // -// CMU-DB Project (15-445/645) -// ***DO NO SHARE PUBLICLY*** +// BusTub // -// Identification: src/include/page/b_plus_tree_internal_page.h +// b_plus_tree_internal_page.h // -// Copyright (c) 2018-2024, Carnegie Mellon University Database Group +// Identification: src/include/storage/page/b_plus_tree_internal_page.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/storage/page/b_plus_tree_leaf_page.h b/src/include/storage/page/b_plus_tree_leaf_page.h index d02094227..ed7ba9c7b 100644 --- a/src/include/storage/page/b_plus_tree_leaf_page.h +++ b/src/include/storage/page/b_plus_tree_leaf_page.h @@ -1,13 +1,15 @@ //===----------------------------------------------------------------------===// // -// CMU-DB Project (15-445/645) -// ***DO NO SHARE PUBLICLY*** +// BusTub // -// Identification: src/include/page/b_plus_tree_leaf_page.h +// b_plus_tree_leaf_page.h // -// Copyright (c) 2018-2024, Carnegie Mellon University Database Group +// Identification: src/include/storage/page/b_plus_tree_leaf_page.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/storage/page/b_plus_tree_page.h b/src/include/storage/page/b_plus_tree_page.h index a8588dbb8..ea716b01f 100644 --- a/src/include/storage/page/b_plus_tree_page.h +++ b/src/include/storage/page/b_plus_tree_page.h @@ -1,13 +1,15 @@ //===----------------------------------------------------------------------===// // -// CMU-DB Project (15-445/645) -// ***DO NO SHARE PUBLICLY*** +// BusTub // -// Identification: src/include/page/b_plus_tree_page.h +// b_plus_tree_page.h // -// Copyright (c) 2018, Carnegie Mellon University Database Group +// Identification: src/include/storage/page/b_plus_tree_page.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// + #pragma once #include diff --git a/src/include/storage/page/extendible_htable_bucket_page.h b/src/include/storage/page/extendible_htable_bucket_page.h index 3eb4a3600..ea5cc4505 100644 --- a/src/include/storage/page/extendible_htable_bucket_page.h +++ b/src/include/storage/page/extendible_htable_bucket_page.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/page/extendible_htable_bucket_page.h // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/page/extendible_htable_directory_page.h b/src/include/storage/page/extendible_htable_directory_page.h index c94145d78..58ed1a657 100644 --- a/src/include/storage/page/extendible_htable_directory_page.h +++ b/src/include/storage/page/extendible_htable_directory_page.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/page/extendible_htable_directory_page.h // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/page/extendible_htable_header_page.h b/src/include/storage/page/extendible_htable_header_page.h index 688808cb5..b70dd8f92 100644 --- a/src/include/storage/page/extendible_htable_header_page.h +++ b/src/include/storage/page/extendible_htable_header_page.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/page/extendible_htable_header_page.h // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/page/hash_table_block_page.h b/src/include/storage/page/hash_table_block_page.h index ee7240cb3..6381268ac 100644 --- a/src/include/storage/page/hash_table_block_page.h +++ b/src/include/storage/page/hash_table_block_page.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/page/hash_table_block_page.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/page/hash_table_bucket_page.h b/src/include/storage/page/hash_table_bucket_page.h index 23cbbd52d..b7e3298f4 100644 --- a/src/include/storage/page/hash_table_bucket_page.h +++ b/src/include/storage/page/hash_table_bucket_page.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/page/hash_table_bucket_page.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/page/hash_table_directory_page.h b/src/include/storage/page/hash_table_directory_page.h index 31836016e..39b2c829c 100644 --- a/src/include/storage/page/hash_table_directory_page.h +++ b/src/include/storage/page/hash_table_directory_page.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/page/hash_table_directory_page.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/page/hash_table_header_page.h b/src/include/storage/page/hash_table_header_page.h index b5476baf7..89dada332 100644 --- a/src/include/storage/page/hash_table_header_page.h +++ b/src/include/storage/page/hash_table_header_page.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/page/hash_table_header_page.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/page/hash_table_page_defs.h b/src/include/storage/page/hash_table_page_defs.h index e92cebb5e..ba854f98e 100644 --- a/src/include/storage/page/hash_table_page_defs.h +++ b/src/include/storage/page/hash_table_page_defs.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/page/hash_table_page_defs.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/page/page.h b/src/include/storage/page/page.h index 7a2e15033..ec44ba5fd 100644 --- a/src/include/storage/page/page.h +++ b/src/include/storage/page/page.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/page/page.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/page/page_guard.h b/src/include/storage/page/page_guard.h index d4fa9c209..523ace009 100644 --- a/src/include/storage/page/page_guard.h +++ b/src/include/storage/page/page_guard.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/page/page_guard.h // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/page/table_page.h b/src/include/storage/page/table_page.h index 70951b841..eaa12c5d1 100644 --- a/src/include/storage/page/table_page.h +++ b/src/include/storage/page/table_page.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/page/table_page.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/page/tmp_tuple_page.h b/src/include/storage/page/tmp_tuple_page.h index b8f695059..0ef7f1dcd 100644 --- a/src/include/storage/page/tmp_tuple_page.h +++ b/src/include/storage/page/tmp_tuple_page.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// tmp_tuple_page.h +// +// Identification: src/include/storage/page/tmp_tuple_page.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include "storage/page/page.h" diff --git a/src/include/storage/table/table_heap.h b/src/include/storage/table/table_heap.h index 687cf0fdb..91597fd83 100644 --- a/src/include/storage/table/table_heap.h +++ b/src/include/storage/table/table_heap.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/table/table_heap.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/table/table_iterator.h b/src/include/storage/table/table_iterator.h index 584efc4d1..2c88177cb 100644 --- a/src/include/storage/table/table_iterator.h +++ b/src/include/storage/table/table_iterator.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/table/table_iterator.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/storage/table/tmp_tuple.h b/src/include/storage/table/tmp_tuple.h index f6253db11..d81a0f49f 100644 --- a/src/include/storage/table/tmp_tuple.h +++ b/src/include/storage/table/tmp_tuple.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// tmp_tuple.h +// +// Identification: src/include/storage/table/tmp_tuple.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include "common/config.h" diff --git a/src/include/storage/table/tuple.h b/src/include/storage/table/tuple.h index a5299fccf..e1527d351 100644 --- a/src/include/storage/table/tuple.h +++ b/src/include/storage/table/tuple.h @@ -6,7 +6,7 @@ // // Identification: src/include/storage/table/tuple.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/abstract_pool.h b/src/include/type/abstract_pool.h index 805c3a2f6..4ed6fcb7b 100644 --- a/src/include/type/abstract_pool.h +++ b/src/include/type/abstract_pool.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/abstract_pool.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/bigint_type.h b/src/include/type/bigint_type.h index acf54bebc..703a61961 100644 --- a/src/include/type/bigint_type.h +++ b/src/include/type/bigint_type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/bigint_type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/boolean_type.h b/src/include/type/boolean_type.h index a412a62eb..6ff0a7d6f 100644 --- a/src/include/type/boolean_type.h +++ b/src/include/type/boolean_type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/boolean_type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/decimal_type.h b/src/include/type/decimal_type.h index 65f82dd5d..093113ffa 100644 --- a/src/include/type/decimal_type.h +++ b/src/include/type/decimal_type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/decimal_type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/integer_parent_type.h b/src/include/type/integer_parent_type.h index b71ac3f42..d90e01d45 100644 --- a/src/include/type/integer_parent_type.h +++ b/src/include/type/integer_parent_type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/integer_parent_type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/integer_type.h b/src/include/type/integer_type.h index abdf7b223..d5d67fc13 100644 --- a/src/include/type/integer_type.h +++ b/src/include/type/integer_type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/integer_type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/limits.h b/src/include/type/limits.h index 06129fc05..ea8de8664 100644 --- a/src/include/type/limits.h +++ b/src/include/type/limits.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/limits.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/numeric_type.h b/src/include/type/numeric_type.h index 2501ea088..63b7a2012 100644 --- a/src/include/type/numeric_type.h +++ b/src/include/type/numeric_type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/numeric_type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/smallint_type.h b/src/include/type/smallint_type.h index 4ad22a88d..5482484b5 100644 --- a/src/include/type/smallint_type.h +++ b/src/include/type/smallint_type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/smallint_type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/timestamp_type.h b/src/include/type/timestamp_type.h index 8552315d6..9f916ec7b 100644 --- a/src/include/type/timestamp_type.h +++ b/src/include/type/timestamp_type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/timestamp_type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/tinyint_type.h b/src/include/type/tinyint_type.h index 21762aa74..d6791dad0 100644 --- a/src/include/type/tinyint_type.h +++ b/src/include/type/tinyint_type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/tinyint_type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/type.h b/src/include/type/type.h index 9a2b2aef7..c5df1d18d 100644 --- a/src/include/type/type.h +++ b/src/include/type/type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/type_id.h b/src/include/type/type_id.h index 4239143b6..266fa3ccc 100644 --- a/src/include/type/type_id.h +++ b/src/include/type/type_id.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/type_id.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/type_util.h b/src/include/type/type_util.h index f1a24da51..f59e00bea 100644 --- a/src/include/type/type_util.h +++ b/src/include/type/type_util.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/type_util.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/value.h b/src/include/type/value.h index 8bb53b6d2..9f5eb4b66 100644 --- a/src/include/type/value.h +++ b/src/include/type/value.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/value.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/value_factory.h b/src/include/type/value_factory.h index 22a0d1196..66507212a 100644 --- a/src/include/type/value_factory.h +++ b/src/include/type/value_factory.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/value_factory.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/varlen_type.h b/src/include/type/varlen_type.h index 2dcd6bfb9..838c46a48 100644 --- a/src/include/type/varlen_type.h +++ b/src/include/type/varlen_type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/varlen_type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/include/type/vector_type.h b/src/include/type/vector_type.h index e076ed04c..b85b7f35c 100644 --- a/src/include/type/vector_type.h +++ b/src/include/type/vector_type.h @@ -6,7 +6,7 @@ // // Identification: src/include/type/vector_type.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/optimizer/column_pruning.cpp b/src/optimizer/column_pruning.cpp index 205a4e420..74f4a9cc3 100644 --- a/src/optimizer/column_pruning.cpp +++ b/src/optimizer/column_pruning.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// column_pruning.cpp +// +// Identification: src/optimizer/column_pruning.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "optimizer/optimizer.h" namespace bustub { diff --git a/src/optimizer/eliminate_true_filter.cpp b/src/optimizer/eliminate_true_filter.cpp index ca7357221..4ed2fdfb5 100644 --- a/src/optimizer/eliminate_true_filter.cpp +++ b/src/optimizer/eliminate_true_filter.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// eliminate_true_filter.cpp +// +// Identification: src/optimizer/eliminate_true_filter.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include "execution/plans/filter_plan.h" #include "execution/plans/limit_plan.h" diff --git a/src/optimizer/merge_filter_nlj.cpp b/src/optimizer/merge_filter_nlj.cpp index 36d5119e6..afb29c89f 100644 --- a/src/optimizer/merge_filter_nlj.cpp +++ b/src/optimizer/merge_filter_nlj.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// merge_filter_nlj.cpp +// +// Identification: src/optimizer/merge_filter_nlj.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include "catalog/column.h" diff --git a/src/optimizer/merge_filter_scan.cpp b/src/optimizer/merge_filter_scan.cpp index 716c13617..327de0b29 100644 --- a/src/optimizer/merge_filter_scan.cpp +++ b/src/optimizer/merge_filter_scan.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// merge_filter_scan.cpp +// +// Identification: src/optimizer/merge_filter_scan.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include "execution/plans/filter_plan.h" diff --git a/src/optimizer/merge_projection.cpp b/src/optimizer/merge_projection.cpp index e44ddb849..ff084c445 100644 --- a/src/optimizer/merge_projection.cpp +++ b/src/optimizer/merge_projection.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// merge_projection.cpp +// +// Identification: src/optimizer/merge_projection.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include "catalog/column.h" diff --git a/src/optimizer/nlj_as_hash_join.cpp b/src/optimizer/nlj_as_hash_join.cpp index 183120676..d53db8bb1 100644 --- a/src/optimizer/nlj_as_hash_join.cpp +++ b/src/optimizer/nlj_as_hash_join.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// nlj_as_hash_join.cpp +// +// Identification: src/optimizer/nlj_as_hash_join.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include "catalog/column.h" diff --git a/src/optimizer/nlj_as_index_join.cpp b/src/optimizer/nlj_as_index_join.cpp index fb1e1faa0..52ffaa4fe 100644 --- a/src/optimizer/nlj_as_index_join.cpp +++ b/src/optimizer/nlj_as_index_join.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// nlj_as_index_join.cpp +// +// Identification: src/optimizer/nlj_as_index_join.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/src/optimizer/optimizer.cpp b/src/optimizer/optimizer.cpp index afd89d167..d04a37325 100644 --- a/src/optimizer/optimizer.cpp +++ b/src/optimizer/optimizer.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// optimizer.cpp +// +// Identification: src/optimizer/optimizer.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "optimizer/optimizer.h" #include #include "common/util/string_util.h" diff --git a/src/optimizer/optimizer_custom_rules.cpp b/src/optimizer/optimizer_custom_rules.cpp index c8e493d5f..e4a16d142 100644 --- a/src/optimizer/optimizer_custom_rules.cpp +++ b/src/optimizer/optimizer_custom_rules.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// optimizer_custom_rules.cpp +// +// Identification: src/optimizer/optimizer_custom_rules.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "execution/plans/abstract_plan.h" #include "optimizer/optimizer.h" diff --git a/src/optimizer/optimizer_internal.cpp b/src/optimizer/optimizer_internal.cpp index e90123042..b216e9be1 100644 --- a/src/optimizer/optimizer_internal.cpp +++ b/src/optimizer/optimizer_internal.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// optimizer_internal.cpp +// +// Identification: src/optimizer/optimizer_internal.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + namespace bustub { void OptimizerHelperFunction() {} diff --git a/src/optimizer/order_by_index_scan.cpp b/src/optimizer/order_by_index_scan.cpp index 3207ba989..4cb064980 100644 --- a/src/optimizer/order_by_index_scan.cpp +++ b/src/optimizer/order_by_index_scan.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// order_by_index_scan.cpp +// +// Identification: src/optimizer/order_by_index_scan.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include diff --git a/src/optimizer/seqscan_as_indexscan.cpp b/src/optimizer/seqscan_as_indexscan.cpp index fb9f796b0..08c9bcc52 100644 --- a/src/optimizer/seqscan_as_indexscan.cpp +++ b/src/optimizer/seqscan_as_indexscan.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// seqscan_as_indexscan.cpp +// +// Identification: src/optimizer/seqscan_as_indexscan.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "optimizer/optimizer.h" namespace bustub { diff --git a/src/optimizer/sort_limit_as_topn.cpp b/src/optimizer/sort_limit_as_topn.cpp index 31504467d..5c6067519 100644 --- a/src/optimizer/sort_limit_as_topn.cpp +++ b/src/optimizer/sort_limit_as_topn.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// sort_limit_as_topn.cpp +// +// Identification: src/optimizer/sort_limit_as_topn.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "optimizer/optimizer.h" namespace bustub { diff --git a/src/planner/expression_factory.cpp b/src/planner/expression_factory.cpp index cf6657f8a..af298f14f 100644 --- a/src/planner/expression_factory.cpp +++ b/src/planner/expression_factory.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// expression_factory.cpp +// +// Identification: src/planner/expression_factory.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "binder/bound_expression.h" #include "binder/expressions/bound_func_call.h" #include "binder/statement/select_statement.h" diff --git a/src/planner/plan_aggregation.cpp b/src/planner/plan_aggregation.cpp index 9686217d4..6b2309e10 100644 --- a/src/planner/plan_aggregation.cpp +++ b/src/planner/plan_aggregation.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// plan_aggregation.cpp +// +// Identification: src/planner/plan_aggregation.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include diff --git a/src/planner/plan_expression.cpp b/src/planner/plan_expression.cpp index a408ce47c..bc098a6ab 100644 --- a/src/planner/plan_expression.cpp +++ b/src/planner/plan_expression.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// plan_expression.cpp +// +// Identification: src/planner/plan_expression.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/src/planner/plan_func_call.cpp b/src/planner/plan_func_call.cpp index 1ee50530b..262abf682 100644 --- a/src/planner/plan_func_call.cpp +++ b/src/planner/plan_func_call.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// plan_func_call.cpp +// +// Identification: src/planner/plan_func_call.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include "binder/bound_expression.h" diff --git a/src/planner/plan_insert.cpp b/src/planner/plan_insert.cpp index fee4338d9..14b5dfdcc 100644 --- a/src/planner/plan_insert.cpp +++ b/src/planner/plan_insert.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// plan_insert.cpp +// +// Identification: src/planner/plan_insert.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/src/planner/plan_select.cpp b/src/planner/plan_select.cpp index 67c32eec6..35c56e1be 100644 --- a/src/planner/plan_select.cpp +++ b/src/planner/plan_select.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// plan_select.cpp +// +// Identification: src/planner/plan_select.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/src/planner/plan_table_ref.cpp b/src/planner/plan_table_ref.cpp index dc706de10..b0ae1538c 100644 --- a/src/planner/plan_table_ref.cpp +++ b/src/planner/plan_table_ref.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// plan_table_ref.cpp +// +// Identification: src/planner/plan_table_ref.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include diff --git a/src/planner/plan_window_function.cpp b/src/planner/plan_window_function.cpp index 856082077..8cb7d08bc 100644 --- a/src/planner/plan_window_function.cpp +++ b/src/planner/plan_window_function.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// plan_window_function.cpp +// +// Identification: src/planner/plan_window_function.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include diff --git a/src/planner/planner.cpp b/src/planner/planner.cpp index f287b3cb5..e79f48997 100644 --- a/src/planner/planner.cpp +++ b/src/planner/planner.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// planner.cpp +// +// Identification: src/planner/planner.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include diff --git a/src/primer/hyperloglog.cpp b/src/primer/hyperloglog.cpp index 86d2ceb98..f5c26f9a3 100644 --- a/src/primer/hyperloglog.cpp +++ b/src/primer/hyperloglog.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// hyperloglog.cpp +// +// Identification: src/primer/hyperloglog.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "primer/hyperloglog.h" namespace bustub { diff --git a/src/primer/hyperloglog_presto.cpp b/src/primer/hyperloglog_presto.cpp index e0310dfc7..c6784a028 100644 --- a/src/primer/hyperloglog_presto.cpp +++ b/src/primer/hyperloglog_presto.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// hyperloglog_presto.cpp +// +// Identification: src/primer/hyperloglog_presto.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "primer/hyperloglog_presto.h" namespace bustub { diff --git a/src/primer/orset.cpp b/src/primer/orset.cpp index 2512a48e9..612c2ec4c 100644 --- a/src/primer/orset.cpp +++ b/src/primer/orset.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// orset.cpp +// +// Identification: src/primer/orset.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "primer/orset.h" #include #include diff --git a/src/primer/orset_driver.cpp b/src/primer/orset_driver.cpp index 16b2075ab..994ec1ac4 100644 --- a/src/primer/orset_driver.cpp +++ b/src/primer/orset_driver.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// orset_driver.cpp +// +// Identification: src/primer/orset_driver.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "primer/orset_driver.h" #include diff --git a/src/primer/trie.cpp b/src/primer/trie.cpp index 25fbadd06..6d711fbdb 100644 --- a/src/primer/trie.cpp +++ b/src/primer/trie.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// trie.cpp +// +// Identification: src/primer/trie.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "primer/trie.h" #include #include "common/exception.h" diff --git a/src/primer/trie_store.cpp b/src/primer/trie_store.cpp index 8992ecd95..f7f95c809 100644 --- a/src/primer/trie_store.cpp +++ b/src/primer/trie_store.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// trie_store.cpp +// +// Identification: src/primer/trie_store.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "primer/trie_store.h" #include "common/exception.h" diff --git a/src/recovery/checkpoint_manager.cpp b/src/recovery/checkpoint_manager.cpp index 4d10c3e2c..937913d0e 100644 --- a/src/recovery/checkpoint_manager.cpp +++ b/src/recovery/checkpoint_manager.cpp @@ -6,7 +6,7 @@ // // Identification: src/recovery/checkpoint_manager.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/recovery/log_manager.cpp b/src/recovery/log_manager.cpp index 694539719..e0eaf7161 100644 --- a/src/recovery/log_manager.cpp +++ b/src/recovery/log_manager.cpp @@ -6,7 +6,7 @@ // // Identification: src/recovery/log_manager.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/disk/disk_manager.cpp b/src/storage/disk/disk_manager.cpp index fc31980fe..3a03e545e 100644 --- a/src/storage/disk/disk_manager.cpp +++ b/src/storage/disk/disk_manager.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/disk/disk_manager.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/disk/disk_manager_memory.cpp b/src/storage/disk/disk_manager_memory.cpp index 65fad38e7..cbbf87bc1 100644 --- a/src/storage/disk/disk_manager_memory.cpp +++ b/src/storage/disk/disk_manager_memory.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/disk/disk_manager_memory.cpp // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/disk/disk_scheduler.cpp b/src/storage/disk/disk_scheduler.cpp index 3d6fee4ef..28fd3c1d7 100644 --- a/src/storage/disk/disk_scheduler.cpp +++ b/src/storage/disk/disk_scheduler.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/disk/disk_scheduler.cpp // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/index/b_plus_tree.cpp b/src/storage/index/b_plus_tree.cpp index f65139e4a..d915a7309 100644 --- a/src/storage/index/b_plus_tree.cpp +++ b/src/storage/index/b_plus_tree.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// b_plus_tree.cpp +// +// Identification: src/storage/index/b_plus_tree.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "storage/index/b_plus_tree.h" #include "storage/index/b_plus_tree_debug.h" diff --git a/src/storage/index/b_plus_tree_index.cpp b/src/storage/index/b_plus_tree_index.cpp index 01a8d3721..b23a0e2ff 100644 --- a/src/storage/index/b_plus_tree_index.cpp +++ b/src/storage/index/b_plus_tree_index.cpp @@ -1,11 +1,12 @@ //===----------------------------------------------------------------------===// // -// CMU-DB Project (15-445/645) -// ***DO NO SHARE PUBLICLY*** +// BusTub // -// Identification: src/index/b_plus_tree_index.cpp +// b_plus_tree_index.cpp // -// Copyright (c) 2018-2024, Carnegie Mellon University Database Group +// Identification: src/storage/index/b_plus_tree_index.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/index/extendible_hash_table_index.cpp b/src/storage/index/extendible_hash_table_index.cpp index 469ea5b07..7f8e54fcf 100644 --- a/src/storage/index/extendible_hash_table_index.cpp +++ b/src/storage/index/extendible_hash_table_index.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// extendible_hash_table_index.cpp +// +// Identification: src/storage/index/extendible_hash_table_index.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include "storage/index/extendible_hash_table_index.h" diff --git a/src/storage/index/index_iterator.cpp b/src/storage/index/index_iterator.cpp index dc016e198..15d05f19f 100644 --- a/src/storage/index/index_iterator.cpp +++ b/src/storage/index/index_iterator.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// index_iterator.cpp +// +// Identification: src/storage/index/index_iterator.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + /** * index_iterator.cpp */ diff --git a/src/storage/index/linear_probe_hash_table_index.cpp b/src/storage/index/linear_probe_hash_table_index.cpp index b7ac6a99c..6fd3e48fc 100644 --- a/src/storage/index/linear_probe_hash_table_index.cpp +++ b/src/storage/index/linear_probe_hash_table_index.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// linear_probe_hash_table_index.cpp +// +// Identification: src/storage/index/linear_probe_hash_table_index.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include "storage/index/linear_probe_hash_table_index.h" diff --git a/src/storage/page/b_plus_tree_internal_page.cpp b/src/storage/page/b_plus_tree_internal_page.cpp index 98c3182a9..f60441407 100644 --- a/src/storage/page/b_plus_tree_internal_page.cpp +++ b/src/storage/page/b_plus_tree_internal_page.cpp @@ -1,11 +1,12 @@ //===----------------------------------------------------------------------===// // -// CMU-DB Project (15-445/645) -// ***DO NO SHARE PUBLICLY*** +// BusTub // -// Identification: src/page/b_plus_tree_internal_page.cpp +// b_plus_tree_internal_page.cpp // -// Copyright (c) 2018-2024, Carnegie Mellon University Database Group +// Identification: src/storage/page/b_plus_tree_internal_page.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/b_plus_tree_leaf_page.cpp b/src/storage/page/b_plus_tree_leaf_page.cpp index aae0b69ba..79d40d282 100644 --- a/src/storage/page/b_plus_tree_leaf_page.cpp +++ b/src/storage/page/b_plus_tree_leaf_page.cpp @@ -1,11 +1,12 @@ //===----------------------------------------------------------------------===// // -// CMU-DB Project (15-445/645) -// ***DO NO SHARE PUBLICLY*** +// BusTub // -// Identification: src/page/b_plus_tree_leaf_page.cpp +// b_plus_tree_leaf_page.cpp // -// Copyright (c) 2018-2024, Carnegie Mellon University Database Group +// Identification: src/storage/page/b_plus_tree_leaf_page.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/b_plus_tree_page.cpp b/src/storage/page/b_plus_tree_page.cpp index ea26571fb..ac6999e63 100644 --- a/src/storage/page/b_plus_tree_page.cpp +++ b/src/storage/page/b_plus_tree_page.cpp @@ -1,11 +1,12 @@ //===----------------------------------------------------------------------===// // -// CMU-DB Project (15-445/645) -// ***DO NO SHARE PUBLICLY*** +// BusTub // -// Identification: src/page/b_plus_tree_page.cpp +// b_plus_tree_page.cpp // -// Copyright (c) 2018, Carnegie Mellon University Database Group +// Identification: src/storage/page/b_plus_tree_page.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/extendible_htable_bucket_page.cpp b/src/storage/page/extendible_htable_bucket_page.cpp index 820259eb3..1275c6d1e 100644 --- a/src/storage/page/extendible_htable_bucket_page.cpp +++ b/src/storage/page/extendible_htable_bucket_page.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/page/extendible_htable_bucket_page.cpp // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/extendible_htable_directory_page.cpp b/src/storage/page/extendible_htable_directory_page.cpp index a89a438b8..601d27630 100644 --- a/src/storage/page/extendible_htable_directory_page.cpp +++ b/src/storage/page/extendible_htable_directory_page.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/page/extendible_htable_directory_page.cpp // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/extendible_htable_header_page.cpp b/src/storage/page/extendible_htable_header_page.cpp index e8902c025..16f45062c 100644 --- a/src/storage/page/extendible_htable_header_page.cpp +++ b/src/storage/page/extendible_htable_header_page.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/page/extendible_htable_header_page.cpp // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/extendible_htable_page_utils.cpp b/src/storage/page/extendible_htable_page_utils.cpp index 6ea37a26d..200d26b06 100644 --- a/src/storage/page/extendible_htable_page_utils.cpp +++ b/src/storage/page/extendible_htable_page_utils.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/page/extendible_htable_page_utils.cpp // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/hash_table_block_page.cpp b/src/storage/page/hash_table_block_page.cpp index 6a06e5409..53697a108 100644 --- a/src/storage/page/hash_table_block_page.cpp +++ b/src/storage/page/hash_table_block_page.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/page/hash_table_block_page.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/hash_table_bucket_page.cpp b/src/storage/page/hash_table_bucket_page.cpp index 87957a121..07e564b3f 100644 --- a/src/storage/page/hash_table_bucket_page.cpp +++ b/src/storage/page/hash_table_bucket_page.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/page/hash_table_bucket_page.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/hash_table_directory_page.cpp b/src/storage/page/hash_table_directory_page.cpp index 761ed6ada..36d3d8ddf 100644 --- a/src/storage/page/hash_table_directory_page.cpp +++ b/src/storage/page/hash_table_directory_page.cpp @@ -2,11 +2,11 @@ // // BusTub // -// hash_table_header_page.cpp +// hash_table_directory_page.cpp // -// Identification: src/storage/page/hash_table_header_page.cpp +// Identification: src/storage/page/hash_table_directory_page.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/hash_table_header_page.cpp b/src/storage/page/hash_table_header_page.cpp index ef8a61b79..409a0368d 100644 --- a/src/storage/page/hash_table_header_page.cpp +++ b/src/storage/page/hash_table_header_page.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/page/hash_table_header_page.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/page_guard.cpp b/src/storage/page/page_guard.cpp index a7cf23d8d..0bb61137d 100644 --- a/src/storage/page/page_guard.cpp +++ b/src/storage/page/page_guard.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/page/page_guard.cpp // -// Copyright (c) 2024-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/page/table_page.cpp b/src/storage/page/table_page.cpp index d01529ef0..e9be4c567 100644 --- a/src/storage/page/table_page.cpp +++ b/src/storage/page/table_page.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/page/table_page.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/table/table_heap.cpp b/src/storage/table/table_heap.cpp index 36d2e01e8..c13ad79d1 100644 --- a/src/storage/table/table_heap.cpp +++ b/src/storage/table/table_heap.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/table/table_heap.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/table/table_iterator.cpp b/src/storage/table/table_iterator.cpp index c6839b231..5311d2a0b 100644 --- a/src/storage/table/table_iterator.cpp +++ b/src/storage/table/table_iterator.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/table/table_iterator.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/storage/table/tuple.cpp b/src/storage/table/tuple.cpp index 93bfc5681..a5b525053 100644 --- a/src/storage/table/tuple.cpp +++ b/src/storage/table/tuple.cpp @@ -6,7 +6,7 @@ // // Identification: src/storage/table/tuple.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/bigint_type.cpp b/src/type/bigint_type.cpp index 8f1d43dd1..e9236876a 100644 --- a/src/type/bigint_type.cpp +++ b/src/type/bigint_type.cpp @@ -6,7 +6,7 @@ // // Identification: src/type/bigint_type.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/boolean_type.cpp b/src/type/boolean_type.cpp index fcaaddcbe..8920c4383 100644 --- a/src/type/boolean_type.cpp +++ b/src/type/boolean_type.cpp @@ -6,7 +6,7 @@ // // Identification: src/type/boolean_type.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/decimal_type.cpp b/src/type/decimal_type.cpp index 73106711d..05e566380 100644 --- a/src/type/decimal_type.cpp +++ b/src/type/decimal_type.cpp @@ -6,7 +6,7 @@ // // Identification: src/type/decimal_type.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/integer_parent_type.cpp b/src/type/integer_parent_type.cpp index 5e1366034..5756e796e 100644 --- a/src/type/integer_parent_type.cpp +++ b/src/type/integer_parent_type.cpp @@ -6,7 +6,7 @@ // // Identification: src/type/integer_parent_type.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/integer_type.cpp b/src/type/integer_type.cpp index ad8910b1a..4cc98a102 100644 --- a/src/type/integer_type.cpp +++ b/src/type/integer_type.cpp @@ -6,7 +6,7 @@ // // Identification: src/type/integer_type.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/smallint_type.cpp b/src/type/smallint_type.cpp index 9ea8506c9..e5e0da7e8 100644 --- a/src/type/smallint_type.cpp +++ b/src/type/smallint_type.cpp @@ -6,7 +6,7 @@ // // Identification: src/type/smallint_type.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/timestamp_type.cpp b/src/type/timestamp_type.cpp index 4b74b1b35..20dbcde1e 100644 --- a/src/type/timestamp_type.cpp +++ b/src/type/timestamp_type.cpp @@ -6,7 +6,7 @@ // // Identification: src/type/timestamp_type.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/tinyint_type.cpp b/src/type/tinyint_type.cpp index e5d71501c..e04cbc337 100644 --- a/src/type/tinyint_type.cpp +++ b/src/type/tinyint_type.cpp @@ -6,7 +6,7 @@ // // Identification: src/type/tinyint_type.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/type.cpp b/src/type/type.cpp index c5dc9bc5e..4449030a1 100644 --- a/src/type/type.cpp +++ b/src/type/type.cpp @@ -6,7 +6,7 @@ // // Identification: src/type/type.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/value.cpp b/src/type/value.cpp index 94fbf1e8d..4651f2081 100644 --- a/src/type/value.cpp +++ b/src/type/value.cpp @@ -6,7 +6,7 @@ // // Identification: src/type/value.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/varlen_type.cpp b/src/type/varlen_type.cpp index a3720de30..0ebce07b2 100644 --- a/src/type/varlen_type.cpp +++ b/src/type/varlen_type.cpp @@ -6,7 +6,7 @@ // // Identification: src/type/varlen_type.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/src/type/vector_type.cpp b/src/type/vector_type.cpp index ca4733b8a..fa772fd0e 100644 --- a/src/type/vector_type.cpp +++ b/src/type/vector_type.cpp @@ -2,11 +2,11 @@ // // BusTub // -// varlen_type.cpp +// vector_type.cpp // -// Identification: src/type/varlen_type.cpp +// Identification: src/type/vector_type.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/backtrace/crash_test.cpp b/test/backtrace/crash_test.cpp index 9afd8c631..8116fcfe8 100644 --- a/test/backtrace/crash_test.cpp +++ b/test/backtrace/crash_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// crash_test.cpp +// +// Identification: test/backtrace/crash_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "common/exception.h" #include "common/macros.h" #include "gtest/gtest.h" diff --git a/test/binder/binder_test.cpp b/test/binder/binder_test.cpp index 10e9bddbc..d1e66ffc8 100644 --- a/test/binder/binder_test.cpp +++ b/test/binder/binder_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/binder/binder_test.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/buffer/buffer_pool_manager_test.cpp b/test/buffer/buffer_pool_manager_test.cpp index a560f0337..1a77c24f6 100644 --- a/test/buffer/buffer_pool_manager_test.cpp +++ b/test/buffer/buffer_pool_manager_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/buffer/buffer_pool_manager_test.cpp // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/buffer/clock_replacer_test.cpp b/test/buffer/clock_replacer_test.cpp index a873eee70..379cfe059 100644 --- a/test/buffer/clock_replacer_test.cpp +++ b/test/buffer/clock_replacer_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/buffer/clock_replacer_test.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/buffer/lru_k_replacer_test.cpp b/test/buffer/lru_k_replacer_test.cpp index 281974c00..6b14a41e0 100644 --- a/test/buffer/lru_k_replacer_test.cpp +++ b/test/buffer/lru_k_replacer_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// lru_k_replacer_test.cpp +// +// Identification: test/buffer/lru_k_replacer_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + /** * lru_k_replacer_test.cpp */ diff --git a/test/buffer/lru_replacer_test.cpp b/test/buffer/lru_replacer_test.cpp index 1e46f4c14..f19eb75b0 100644 --- a/test/buffer/lru_replacer_test.cpp +++ b/test/buffer/lru_replacer_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/buffer/lru_replacer_test.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/common/rwlatch_test.cpp b/test/common/rwlatch_test.cpp index 606a55f6b..1b738472e 100644 --- a/test/common/rwlatch_test.cpp +++ b/test/common/rwlatch_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/common/rwlatch_test.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/concurrency/common_checker.h b/test/concurrency/common_checker.h index 7423b6eb5..c28ebd490 100644 --- a/test/concurrency/common_checker.h +++ b/test/concurrency/common_checker.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// common_checker.h +// +// Identification: test/concurrency/common_checker.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/test/container/disk/hash/extendible_htable_concurrent_test.cpp b/test/container/disk/hash/extendible_htable_concurrent_test.cpp index 39467e70c..4dd06c32f 100644 --- a/test/container/disk/hash/extendible_htable_concurrent_test.cpp +++ b/test/container/disk/hash/extendible_htable_concurrent_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/container/disk/hash/extendible_htable_concurrent_test.cpp // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/container/disk/hash/extendible_htable_test.cpp b/test/container/disk/hash/extendible_htable_test.cpp index 82d797a7d..26b6aa148 100644 --- a/test/container/disk/hash/extendible_htable_test.cpp +++ b/test/container/disk/hash/extendible_htable_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/container/disk/hash/extendible_htable_test.cpp // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/container/disk/hash/hash_table_page_test.cpp b/test/container/disk/hash/hash_table_page_test.cpp index 6bd5e2686..049824751 100644 --- a/test/container/disk/hash/hash_table_page_test.cpp +++ b/test/container/disk/hash/hash_table_page_test.cpp @@ -4,9 +4,9 @@ // // hash_table_page_test.cpp // -// Identification: test/container/hash_table_page_test.cpp +// Identification: test/container/disk/hash/hash_table_page_test.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/container/disk/hash/hash_table_test.cpp b/test/container/disk/hash/hash_table_test.cpp index 9ac3b4cb9..99a4e7197 100644 --- a/test/container/disk/hash/hash_table_test.cpp +++ b/test/container/disk/hash/hash_table_test.cpp @@ -4,9 +4,9 @@ // // hash_table_test.cpp // -// Identification: test/container/hash_table_test.cpp +// Identification: test/container/disk/hash/hash_table_test.cpp // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/include/logging/common.h b/test/include/logging/common.h index eb98cd2ca..49052fa8c 100644 --- a/test/include/logging/common.h +++ b/test/include/logging/common.h @@ -6,7 +6,7 @@ // // Identification: test/include/logging/common.h // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/include/storage/b_plus_tree_utils.h b/test/include/storage/b_plus_tree_utils.h index 25506135c..ae61f35a6 100644 --- a/test/include/storage/b_plus_tree_utils.h +++ b/test/include/storage/b_plus_tree_utils.h @@ -6,7 +6,7 @@ // // Identification: test/include/storage/b_plus_tree_utils.h // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/include/test_util.h b/test/include/test_util.h index 610f2bd1b..d3b8e4b65 100644 --- a/test/include/test_util.h +++ b/test/include/test_util.h @@ -6,7 +6,7 @@ // // Identification: test/include/test_util.h // -// Copyright (c) 2015-2021, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/primer/hyperloglog_test.cpp b/test/primer/hyperloglog_test.cpp index 95fc2c64d..8e0ab5785 100644 --- a/test/primer/hyperloglog_test.cpp +++ b/test/primer/hyperloglog_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// hyperloglog_test.cpp +// +// Identification: test/primer/hyperloglog_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/test/primer/orset_test.cpp b/test/primer/orset_test.cpp index bc07291a5..f942d42ac 100644 --- a/test/primer/orset_test.cpp +++ b/test/primer/orset_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// orset_test.cpp +// +// Identification: test/primer/orset_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include "common/exception.h" diff --git a/test/primer/trie_debug_answer.h b/test/primer/trie_debug_answer.h index 94f5b7e05..a21929adf 100644 --- a/test/primer/trie_debug_answer.h +++ b/test/primer/trie_debug_answer.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// trie_debug_answer.h +// +// Identification: test/primer/trie_debug_answer.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "common/exception.h" auto Case1CorrectAnswer() -> int { diff --git a/test/primer/trie_debug_test.cpp b/test/primer/trie_debug_test.cpp index 48c2f1770..7e37c07da 100644 --- a/test/primer/trie_debug_test.cpp +++ b/test/primer/trie_debug_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// trie_debug_test.cpp +// +// Identification: test/primer/trie_debug_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/test/primer/trie_noncopy_test.cpp b/test/primer/trie_noncopy_test.cpp index 8e614236d..684e00b70 100644 --- a/test/primer/trie_noncopy_test.cpp +++ b/test/primer/trie_noncopy_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// trie_noncopy_test.cpp +// +// Identification: test/primer/trie_noncopy_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/test/primer/trie_store_noncopy_test.cpp b/test/primer/trie_store_noncopy_test.cpp index f94dbb1a6..6df5d06c9 100644 --- a/test/primer/trie_store_noncopy_test.cpp +++ b/test/primer/trie_store_noncopy_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// trie_store_noncopy_test.cpp +// +// Identification: test/primer/trie_store_noncopy_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/test/primer/trie_store_test.cpp b/test/primer/trie_store_test.cpp index cd156defd..62a3badb5 100644 --- a/test/primer/trie_store_test.cpp +++ b/test/primer/trie_store_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// trie_store_test.cpp +// +// Identification: test/primer/trie_store_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/test/primer/trie_test.cpp b/test/primer/trie_test.cpp index ebc6b3622..ced00cd3e 100644 --- a/test/primer/trie_test.cpp +++ b/test/primer/trie_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// trie_test.cpp +// +// Identification: test/primer/trie_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/test/storage/b_plus_tree_concurrent_test.cpp b/test/storage/b_plus_tree_concurrent_test.cpp index 94dc19ff6..9cea8ae32 100644 --- a/test/storage/b_plus_tree_concurrent_test.cpp +++ b/test/storage/b_plus_tree_concurrent_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/storage/b_plus_tree_concurrent_test.cpp // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/storage/b_plus_tree_contention_test.cpp b/test/storage/b_plus_tree_contention_test.cpp index e07837a1c..45c6ef3a4 100644 --- a/test/storage/b_plus_tree_contention_test.cpp +++ b/test/storage/b_plus_tree_contention_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// b_plus_tree_contention_test.cpp +// +// Identification: test/storage/b_plus_tree_contention_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + /** * b_plus_tree_contention_test.cpp */ diff --git a/test/storage/b_plus_tree_delete_test.cpp b/test/storage/b_plus_tree_delete_test.cpp index 3b11f184a..788530c8d 100644 --- a/test/storage/b_plus_tree_delete_test.cpp +++ b/test/storage/b_plus_tree_delete_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/storage/b_plus_tree_delete_test.cpp // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/storage/b_plus_tree_insert_test.cpp b/test/storage/b_plus_tree_insert_test.cpp index f1a67c7a0..665ba449b 100644 --- a/test/storage/b_plus_tree_insert_test.cpp +++ b/test/storage/b_plus_tree_insert_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/storage/b_plus_tree_insert_test.cpp // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/storage/b_plus_tree_sequential_scale_test.cpp b/test/storage/b_plus_tree_sequential_scale_test.cpp index 000103e3b..4f3df7c51 100644 --- a/test/storage/b_plus_tree_sequential_scale_test.cpp +++ b/test/storage/b_plus_tree_sequential_scale_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/storage/b_plus_tree_sequential_scale_test.cpp // -// Copyright (c) 2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/storage/disk_manager_test.cpp b/test/storage/disk_manager_test.cpp index 1605b27e0..8e61b3b35 100644 --- a/test/storage/disk_manager_test.cpp +++ b/test/storage/disk_manager_test.cpp @@ -4,9 +4,9 @@ // // disk_manager_test.cpp // -// Identification: test/storage/disk/disk_manager_test.cpp +// Identification: test/storage/disk_manager_test.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/storage/disk_scheduler_test.cpp b/test/storage/disk_scheduler_test.cpp index 69b5b3ee5..e5082ea13 100644 --- a/test/storage/disk_scheduler_test.cpp +++ b/test/storage/disk_scheduler_test.cpp @@ -2,11 +2,11 @@ // // BusTub // -// disk_manager_test.cpp +// disk_scheduler_test.cpp // -// Identification: test/storage/disk/disk_scheduler_test.cpp +// Identification: test/storage/disk_scheduler_test.cpp // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/storage/extendible_htable_page_test.cpp b/test/storage/extendible_htable_page_test.cpp index 2cb3e1aee..b0acfe133 100644 --- a/test/storage/extendible_htable_page_test.cpp +++ b/test/storage/extendible_htable_page_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/storage/extendible_htable_page_test.cpp // -// Copyright (c) 2015-2023, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/storage/page_guard_test.cpp b/test/storage/page_guard_test.cpp index 242bf221a..9f670e53a 100644 --- a/test/storage/page_guard_test.cpp +++ b/test/storage/page_guard_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/storage/page_guard_test.cpp // -// Copyright (c) 2015-2024, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/storage/tmp_tuple_page_test.cpp b/test/storage/tmp_tuple_page_test.cpp index 46ca30394..b82cacbea 100644 --- a/test/storage/tmp_tuple_page_test.cpp +++ b/test/storage/tmp_tuple_page_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/storage/tmp_tuple_page_test.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/table/tuple_test.cpp b/test/table/tuple_test.cpp index b80c739fc..6ed4854ee 100644 --- a/test/table/tuple_test.cpp +++ b/test/table/tuple_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/table/tuple_test.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/test/txn/txn_abort_serializable_test.cpp b/test/txn/txn_abort_serializable_test.cpp index 2969f3159..7c9bb35aa 100644 --- a/test/txn/txn_abort_serializable_test.cpp +++ b/test/txn/txn_abort_serializable_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// txn_abort_serializable_test.cpp +// +// Identification: test/txn/txn_abort_serializable_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "common/bustub_instance.h" #include "concurrency/transaction.h" #include "fmt/core.h" diff --git a/test/txn/txn_common.h b/test/txn/txn_common.h index f9dc3f3be..416d86ab1 100644 --- a/test/txn/txn_common.h +++ b/test/txn/txn_common.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// txn_common.h +// +// Identification: test/txn/txn_common.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #pragma once #include diff --git a/test/txn/txn_executor_test.cpp b/test/txn/txn_executor_test.cpp index b3dcbbfc6..3e7b66506 100644 --- a/test/txn/txn_executor_test.cpp +++ b/test/txn/txn_executor_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// txn_executor_test.cpp +// +// Identification: test/txn/txn_executor_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "execution/execution_common.h" #include "txn_common.h" // NOLINT diff --git a/test/txn/txn_index_concurrent_test.cpp b/test/txn/txn_index_concurrent_test.cpp index 293b7befb..4b1a71f91 100644 --- a/test/txn/txn_index_concurrent_test.cpp +++ b/test/txn/txn_index_concurrent_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// txn_index_concurrent_test.cpp +// +// Identification: test/txn/txn_index_concurrent_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include // NOLINT #include #include diff --git a/test/txn/txn_index_test.cpp b/test/txn/txn_index_test.cpp index 162685589..793111ccc 100644 --- a/test/txn/txn_index_test.cpp +++ b/test/txn/txn_index_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// txn_index_test.cpp +// +// Identification: test/txn/txn_index_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include // NOLINT #include #include diff --git a/test/txn/txn_scan_test.cpp b/test/txn/txn_scan_test.cpp index 06741eada..134f39825 100644 --- a/test/txn/txn_scan_test.cpp +++ b/test/txn/txn_scan_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// txn_scan_test.cpp +// +// Identification: test/txn/txn_scan_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include "execution/execution_common.h" #include "txn_common.h" // NOLINT diff --git a/test/txn/txn_timestamp_test.cpp b/test/txn/txn_timestamp_test.cpp index 5ce7f0c38..b98d04569 100644 --- a/test/txn/txn_timestamp_test.cpp +++ b/test/txn/txn_timestamp_test.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// txn_timestamp_test.cpp +// +// Identification: test/txn/txn_timestamp_test.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include // NOLINT #include #include diff --git a/test/type/type_test.cpp b/test/type/type_test.cpp index e81f05aea..d95cd2871 100644 --- a/test/type/type_test.cpp +++ b/test/type/type_test.cpp @@ -6,7 +6,7 @@ // // Identification: test/type/type_test.cpp // -// Copyright (c) 2015-2019, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/tools/b_plus_tree_printer/b_plus_tree_printer.cpp b/tools/b_plus_tree_printer/b_plus_tree_printer.cpp index 3ed2f584d..73cc02264 100644 --- a/tools/b_plus_tree_printer/b_plus_tree_printer.cpp +++ b/tools/b_plus_tree_printer/b_plus_tree_printer.cpp @@ -6,7 +6,7 @@ // // Identification: tools/b_plus_tree_printer/b_plus_tree_printer.cpp // -// Copyright (c) 2015-2022, Carnegie Mellon University Database Group +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group // //===----------------------------------------------------------------------===// diff --git a/tools/backtrace.cpp b/tools/backtrace.cpp index 0dc51d81a..70e85ebee 100644 --- a/tools/backtrace.cpp +++ b/tools/backtrace.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// backtrace.cpp +// +// Identification: tools/backtrace.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include "backward.hpp" diff --git a/tools/bpm_bench/bpm_bench.cpp b/tools/bpm_bench/bpm_bench.cpp index 31cb0308e..d779031b1 100644 --- a/tools/bpm_bench/bpm_bench.cpp +++ b/tools/bpm_bench/bpm_bench.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// bpm_bench.cpp +// +// Identification: tools/bpm_bench/bpm_bench.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/tools/btree_bench/btree_bench.cpp b/tools/btree_bench/btree_bench.cpp index a417b530e..405de7eae 100644 --- a/tools/btree_bench/btree_bench.cpp +++ b/tools/btree_bench/btree_bench.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// btree_bench.cpp +// +// Identification: tools/btree_bench/btree_bench.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/tools/htable_bench/htable_bench.cpp b/tools/htable_bench/htable_bench.cpp index 06acafbd8..0971dae19 100644 --- a/tools/htable_bench/htable_bench.cpp +++ b/tools/htable_bench/htable_bench.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// htable_bench.cpp +// +// Identification: tools/htable_bench/htable_bench.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/tools/nc-shell/nc-shell.cpp b/tools/nc-shell/nc-shell.cpp index eec6a381b..bc29a847f 100644 --- a/tools/nc-shell/nc-shell.cpp +++ b/tools/nc-shell/nc-shell.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// nc-shell.cpp +// +// Identification: tools/nc-shell/nc-shell.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/tools/shell/shell.cpp b/tools/shell/shell.cpp index 1a41de097..c8341d732 100644 --- a/tools/shell/shell.cpp +++ b/tools/shell/shell.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// shell.cpp +// +// Identification: tools/shell/shell.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include "binder/binder.h" diff --git a/tools/sqllogictest/parser.cpp b/tools/sqllogictest/parser.cpp index 42f95ba06..0816ced14 100644 --- a/tools/sqllogictest/parser.cpp +++ b/tools/sqllogictest/parser.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// parser.cpp +// +// Identification: tools/sqllogictest/parser.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/tools/sqllogictest/parser.h b/tools/sqllogictest/parser.h index d1bac37dd..b9ba391f1 100644 --- a/tools/sqllogictest/parser.h +++ b/tools/sqllogictest/parser.h @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// parser.h +// +// Identification: tools/sqllogictest/parser.h +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + // Copyright 2022 RisingLight Project Authors // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tools/sqllogictest/sqllogictest.cpp b/tools/sqllogictest/sqllogictest.cpp index 9520b3771..df1abe93a 100644 --- a/tools/sqllogictest/sqllogictest.cpp +++ b/tools/sqllogictest/sqllogictest.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// sqllogictest.cpp +// +// Identification: tools/sqllogictest/sqllogictest.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/tools/terrier_bench/terrier.cpp b/tools/terrier_bench/terrier.cpp index e5c8c07ce..5b9240e82 100644 --- a/tools/terrier_bench/terrier.cpp +++ b/tools/terrier_bench/terrier.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// terrier.cpp +// +// Identification: tools/terrier_bench/terrier.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/tools/wasm-bpt-printer/wasm-bpt-printer.cpp b/tools/wasm-bpt-printer/wasm-bpt-printer.cpp index f8c532a8f..55c70c7fe 100644 --- a/tools/wasm-bpt-printer/wasm-bpt-printer.cpp +++ b/tools/wasm-bpt-printer/wasm-bpt-printer.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// wasm-bpt-printer.cpp +// +// Identification: tools/wasm-bpt-printer/wasm-bpt-printer.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include #include diff --git a/tools/wasm-shell/wasm-shell.cpp b/tools/wasm-shell/wasm-shell.cpp index 2e00d7dd7..a113ea7bf 100644 --- a/tools/wasm-shell/wasm-shell.cpp +++ b/tools/wasm-shell/wasm-shell.cpp @@ -1,3 +1,15 @@ +//===----------------------------------------------------------------------===// +// +// BusTub +// +// wasm-shell.cpp +// +// Identification: tools/wasm-shell/wasm-shell.cpp +// +// Copyright (c) 2015-2025, Carnegie Mellon University Database Group +// +//===----------------------------------------------------------------------===// + #include #include