From 5d1ac4834d6f373a13117eda548612c374d02f5c Mon Sep 17 00:00:00 2001 From: ti-srebot <66930949+ti-srebot@users.noreply.github.com> Date: Mon, 12 Jul 2021 13:09:20 +0800 Subject: [PATCH] fix potential npe in executeTS (#2371) (#2377) --- dbms/src/Flash/Coprocessor/DAGQueryBlockInterpreter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dbms/src/Flash/Coprocessor/DAGQueryBlockInterpreter.cpp b/dbms/src/Flash/Coprocessor/DAGQueryBlockInterpreter.cpp index 87f60f2bca7..d391c5cb0a8 100644 --- a/dbms/src/Flash/Coprocessor/DAGQueryBlockInterpreter.cpp +++ b/dbms/src/Flash/Coprocessor/DAGQueryBlockInterpreter.cpp @@ -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; } }