Skip to content

Commit

Permalink
fix potential npe in executeTS (#2371) (#2377)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-srebot authored Jul 12, 2021
1 parent edd46f4 commit 5d1ac48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dbms/src/Flash/Coprocessor/DAGQueryBlockInterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,7 @@ void DAGQueryBlockInterpreter::executeTS(const tipb::TableScan & ts, Pipeline &
}
catch (DB::Exception & e)
{
e.addMessage("(while creating InputStreams from storage `" + storage->getDatabaseName() + "`.`" + storage->getTableName()
+ "`, table_id: " + DB::toString(table_id) + ")");
e.addMessage("(while doing learner read for table, table_id: " + DB::toString(table_id) + ")");
throw;
}
}
Expand Down

0 comments on commit 5d1ac48

Please sign in to comment.