Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hantmac committed Sep 1, 2023
1 parent da6a78a commit 39c52ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private void processResponse(Headers headers, QueryResults results) {
if (results.getSession() != null) {
databendSession.set(results.getSession());
}
if (results.getQueryId() != null && this.additonalHeaders.get(ClientSettings.X_Databend_Query_ID).isEmpty()) {
if (results.getQueryId() != null && this.additonalHeaders.get(ClientSettings.X_Databend_Query_ID).equals(null)) {
this.additonalHeaders.put(ClientSettings.X_Databend_Query_ID, results.getQueryId());
}
currentResults.set(results);
Expand Down

0 comments on commit 39c52ee

Please sign in to comment.