Skip to content

Commit

Permalink
fix function
Browse files Browse the repository at this point in the history
  • Loading branch information
hongyunyan committed Jun 13, 2022
1 parent 8a5589c commit 7e4114c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbms/src/TiDB/Schema/SchemaBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ void SchemaBuilder<Getter, NameMapper>::applyDropSchema(const String & db_name)
}

std::tuple<NamesAndTypes, Strings>
parseColumnsFromTableInfo(const TiDB::TableInfo & table_info, Poco::Logger * log)
parseColumnsFromTableInfo(const TiDB::TableInfo & table_info)
{
NamesAndTypes columns;
std::vector<String> primary_keys;
Expand Down Expand Up @@ -998,7 +998,7 @@ String createTableStmt(
Poco::Logger * log)
{
LOG_FMT_DEBUG(log, "Analyzing table info : {}", table_info.serialize());
auto [columns, pks] = parseColumnsFromTableInfo(table_info, log);
auto [columns, pks] = parseColumnsFromTableInfo(table_info);

String stmt;
WriteBufferFromString stmt_buf(stmt);
Expand Down

0 comments on commit 7e4114c

Please sign in to comment.