Skip to content

Commit

Permalink
Fix null
Browse files Browse the repository at this point in the history
  • Loading branch information
auxten committed Aug 17, 2023
1 parent 7dec57c commit 6d51d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/local/LocalServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ std::unique_ptr<query_result_> pyEntryClickHouseLocal(int argc, char ** argv)
local_result * query_stable(int argc, char ** argv)
{
auto result = pyEntryClickHouseLocal(argc, argv);
if (!result)
if (!result || !result->buf)
{
return nullptr;
}
Expand Down

0 comments on commit 6d51d42

Please sign in to comment.