From cfeb6c5395c96619ee8454ff5d9ea4f783584dd9 Mon Sep 17 00:00:00 2001
From: hyb <kk_huangyangbo@163.com>
Date: Thu, 20 Nov 2025 07:06:29 +0000
Subject: [PATCH] 1.get_connection() 方法的 command_name 参数已经被弃用,更新使用调用get_connection() 方法 2.更新清华导入库测试账号密码

---
 测试组/脚本/Change_password/修改数据库的哈希密码和原始密码做桌面客户端源代码.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/Change_password/\344\277\256\346\224\271\346\225\260\346\215\256\345\272\223\347\232\204\345\223\210\345\270\214\345\257\206\347\240\201\345\222\214\345\216\237\345\247\213\345\257\206\347\240\201\345\201\232\346\241\214\351\235\242\345\256\242\346\210\267\347\253\257\346\272\220\344\273\243\347\240\201.py" "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/Change_password/\344\277\256\346\224\271\346\225\260\346\215\256\345\272\223\347\232\204\345\223\210\345\270\214\345\257\206\347\240\201\345\222\214\345\216\237\345\247\213\345\257\206\347\240\201\345\201\232\346\241\214\351\235\242\345\256\242\346\210\267\347\253\257\346\272\220\344\273\243\347\240\201.py"
index 9574a8d..07e6f49 100644
--- "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/Change_password/\344\277\256\346\224\271\346\225\260\346\215\256\345\272\223\347\232\204\345\223\210\345\270\214\345\257\206\347\240\201\345\222\214\345\216\237\345\247\213\345\257\206\347\240\201\345\201\232\346\241\214\351\235\242\345\256\242\346\210\267\347\253\257\346\272\220\344\273\243\347\240\201.py"
+++ "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/Change_password/\344\277\256\346\224\271\346\225\260\346\215\256\345\272\223\347\232\204\345\223\210\345\270\214\345\257\206\347\240\201\345\222\214\345\216\237\345\247\213\345\257\206\347\240\201\345\201\232\346\241\214\351\235\242\345\256\242\346\210\267\347\253\257\346\272\220\344\273\243\347\240\201.py"
@@ -87,7 +87,7 @@
             for db_index in range(db_count):
                 try:
                     # 切换到指定数据库
-                    temp_client = self.redis_client.connection_pool.get_connection('ping')
+                    temp_client = self.redis_client.connection_pool.get_connection()
                     temp_client.send_command('SELECT', db_index)
                     temp_client.read_response()
 

--
Gitblit v1.9.1