From c12aac9d0b1852f92f792417c6548775828fde03 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Wed, 12 Dec 2018 00:45:47 +0600 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=85=8D=E7=BD=AE=E6=97=B6?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=AD=A3=E7=A1=AE=E6=B8=85=E7=90=86MAAT=5FLA?= =?UTF-8?q?BEL=5FINDEX?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/Maat_command.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/entry/Maat_command.cpp b/src/entry/Maat_command.cpp index 4d26bba..753e99b 100644 --- a/src/entry/Maat_command.cpp +++ b/src/entry/Maat_command.cpp @@ -1178,15 +1178,16 @@ void _exec_serial_rule(redisContext* ctx, long long version, struct serial_rule_ append_cmd_cnt++; // Try to remove from expiration sorted set, no matter wheather it exists or not. - redisAppendCommand(ctx,"ZREM %s %s,%d",rm_expire_sset - ,s_rule[i].table_name - ,s_rule[i].rule_id); + redisAppendCommand(ctx,"ZREM %s %s,%d",rm_expire_sset, + s_rule[i].table_name, + s_rule[i].rule_id); expect_reply[*cnt].srule_seq=-1; (*cnt)++; append_cmd_cnt++; - redisAppendCommand(ctx,"ZREM %s %d",rm_label_sset - ,s_rule[i].rule_id); + redisAppendCommand(ctx,"ZREM %s %s,%d",rm_label_sset, + s_rule[i].table_name, + s_rule[i].rule_id); expect_reply[*cnt].srule_seq=-1; (*cnt)++; append_cmd_cnt++;