Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3fc63d0

Browse files
committed
修复 htNeedsResize 函数的一个 BUG ,感谢 wyj2046 的提醒
1 parentc71af75 commit3fc63d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/redis.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,10 +644,10 @@ dictType migrateCacheDictType = {
644644
inthtNeedsResize(dict*dict) {
645645
long longsize,used;
646646

647-
//哈希表已用节点数量
647+
//哈希表大小
648648
size=dictSlots(dict);
649649

650-
//哈希表大小
650+
//哈希表已用节点数量
651651
used=dictSize(dict);
652652

653653
// 当哈希表的大小大于 DICT_HT_INITIAL_SIZE

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp