Skip to content

Commit 72c4d38

Browse files
committed
Merge pull request huangzworks#4 from WangYulong/patch-1
watchCommand注释错误修正
2 parents 1b7fcde + e50887f commit 72c4d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/multi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ void touchWatchedKeysOnFlush(int dbid) {
476476
void watchCommand(redisClient *c) {
477477
int j;
478478

479-
// 只能在事务中使用
479+
// 不能在事务中使用
480480
if (c->flags & REDIS_MULTI) {
481481
addReplyError(c,"WATCH inside MULTI is not allowed");
482482
return;

0 commit comments

Comments
 (0)