Skip to content

Commit

Permalink
Update select_manager_node.cpp
Browse files Browse the repository at this point in the history
fix compile
  • Loading branch information
lgqss authored May 10, 2022
1 parent ec39373 commit 0aa1763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exec/select_manager_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ int SelectManagerNode::fetcher_store_run(RuntimeState* state, ExecNode* exec_nod
} else {
state->error_code = main_fetcher.fetcher_store.error_code;
state->error_msg.str("");
state->error_msg = main_fetcher.fetcher_store.error_msg.str();
state->error_msg << main_fetcher.fetcher_store.error_msg.str();
DB_WARNING("both router index fail, txn_id: %lu, log_id:%lu, main router index_id: %ld"
"backup router index_id: %ld", state->txn_id, state->log_id(),
main_fetcher.scan_index->router_index_id, backup_fetcher.scan_index->router_index_id);
Expand All @@ -260,7 +260,7 @@ int SelectManagerNode::fetcher_store_run(RuntimeState* state, ExecNode* exec_nod
if (ret < 0) {
state->error_code = fetcher_store->error_code;
state->error_msg.str("");
state->error_msg = fetcher_store->error_msg.str();
state->error_msg << fetcher_store->error_msg.str();
DB_WARNING("single_fetcher_store_open fail, txn_id: %lu, log_id:%lu, router index_id: %ld",
state->txn_id, state->log_id(), main_fetcher.scan_index->router_index_id);
return -1;
Expand Down

0 comments on commit 0aa1763

Please sign in to comment.