diff options
| author | 刘文坛 <[email protected]> | 2023-07-28 12:32:25 +0000 |
|---|---|---|
| committer | 刘文坛 <[email protected]> | 2023-07-28 12:32:25 +0000 |
| commit | bcbb796a7d26ca42e7b72c86581ba04e2e0abc57 (patch) | |
| tree | 2402a1c8c7a6add6c6f88bd241dd06032f515cf1 /tools | |
| parent | c1d413e992c1224afad331c645ea0df305a6ed0f (diff) | |
[FEATURE]expr_matcher support dual engine(hyperscan & rulescan)
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/maat_redis_tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/maat_redis_tool.cpp b/tools/maat_redis_tool.cpp index bbe8c6e..d9aa0ae 100644 --- a/tools/maat_redis_tool.cpp +++ b/tools/maat_redis_tool.cpp @@ -222,7 +222,7 @@ int make_serial_rule(const char *table_name, const char *line, void *u_para) while(buff[strlen(line) - 1] == '\n' || buff[strlen(line) - 1] == '\t') { buff[strlen(line) - 1] = '\0'; } - + const char *redis_rule_key = "TEST_RULE_KEY"; redisReply *reply = maat_wrap_redis_command(ctx, "INCRBY %s %d", redis_rule_key, 1); if (reply->type == REDIS_REPLY_NIL) { |
