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 2023/03/23 09:58:56 UTC
[iotdb] branch fix_python_auth created (now 9efce25158)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a change to branch fix_python_auth
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at 9efce25158 Fix execution succeed without correct password by python api
This branch includes the following new commits:
new 9efce25158 Fix execution succeed without correct password by python api
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: Fix execution succeed without correct password by python api
Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch fix_python_auth
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 9efce2515880f1385299d8be0083f1c899d2e267
Author: HTHou <hh...@outlook.com>
AuthorDate: Thu Mar 23 17:57:58 2023 +0800
Fix execution succeed without correct password by python api
---
client-py/iotdb/Session.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client-py/iotdb/Session.py b/client-py/iotdb/Session.py
index cd5a12f67f..846dbd3c04 100644
--- a/client-py/iotdb/Session.py
+++ b/client-py/iotdb/Session.py
@@ -165,7 +165,7 @@ class Session(object):
try:
open_resp = self.__client.openSession(open_req)
-
+ Session.verify_success(open_resp.status)
if self.protocol_version != open_resp.serverProtocolVersion:
logger.exception(
"Protocol differ, Client version is {}, but Server version is {}".format(