This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch rel/0.13
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.13 by this push:
new fffd9f6879 Fix execution succeed without correct password by python
api (#9433)
fffd9f6879 is described below
commit fffd9f68793a21607c181c341cf5a3e1a7af904d
Author: Haonan <[email protected]>
AuthorDate: Thu Mar 23 18:21:09 2023 +0800
Fix execution succeed without correct password by python api (#9433)
---
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(