You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/08/29 14:26:19 UTC
[iotdb] branch master updated: [IOTDB-4262] Fix missing setSessionId when showAllTemplates(#7164)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new aba398d559 [IOTDB-4262] Fix missing setSessionId when showAllTemplates(#7164)
aba398d559 is described below
commit aba398d5596201644f8b4f6771eb44e758c98a8b
Author: ZhaoXin <x_...@163.com>
AuthorDate: Mon Aug 29 22:26:12 2022 +0800
[IOTDB-4262] Fix missing setSessionId when showAllTemplates(#7164)
---
session/src/main/java/org/apache/iotdb/session/SessionConnection.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/session/src/main/java/org/apache/iotdb/session/SessionConnection.java b/session/src/main/java/org/apache/iotdb/session/SessionConnection.java
index d9024be347..2afc691505 100644
--- a/session/src/main/java/org/apache/iotdb/session/SessionConnection.java
+++ b/session/src/main/java/org/apache/iotdb/session/SessionConnection.java
@@ -874,6 +874,7 @@ public class SessionConnection {
protected TSQueryTemplateResp querySchemaTemplate(TSQueryTemplateReq req)
throws StatementExecutionException, IoTDBConnectionException {
TSQueryTemplateResp execResp;
+ req.setSessionId(sessionId);
try {
execResp = client.querySchemaTemplate(req);
RpcUtils.verifySuccess(execResp.getStatus());