Skip to content

Commit

Permalink
Merge pull request #2038 from kuzudb/comment-fix
Browse files Browse the repository at this point in the history
Don't self-initialize schema comments
  • Loading branch information
benjaminwinger committed Sep 15, 2023
2 parents 02e24ab + d60da3b commit 49850c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/include/catalog/table_schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class TableSchema {
std::vector<std::unique_ptr<Property>> properties)
: tableName{std::move(tableName)}, tableID{tableID}, tableType{tableType},
properties{std::move(properties)},
nextPropertyID{(common::property_id_t)this->properties.size()}, comment{
std::move(comment)} {}
nextPropertyID{(common::property_id_t)this->properties.size()}, comment{} {}
TableSchema(common::TableType tableType, std::string tableName, common::table_id_t tableID,
std::vector<std::unique_ptr<Property>> properties, std::string comment,
common::property_id_t nextPropertyID)
Expand Down

0 comments on commit 49850c8

Please sign in to comment.