Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改默认的正则表达式,添加Redis的高危操作命令 #2580

Merged
merged 10 commits into from
Apr 12, 2024

Conversation

feiazifeiazi
Copy link
Contributor

@feiazifeiazi feiazifeiazi commented Apr 11, 2024

  1. SQL上线工单提交时,对语句审核的正则表达式修改, 添加Redis的高危操作命令。(del、flushdb、flushall、lpop、rpop)
  2. 很多时候预测影响行数为0,实际上不是0的,影响行数规模判断。如果为0行,则改为1行。
  3. 修改redis对影响行数的审核描述。
    UI效果:
    image
    image

Copy link

codecov bot commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.90%. Comparing base (c036fa3) to head (4704d33).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2580   +/-   ##
=======================================
  Coverage   76.90%   76.90%           
=======================================
  Files         117      117           
  Lines       16109    16109           
=======================================
  Hits        12388    12388           
  Misses       3721     3721           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

sql/engines/redis.py Outdated Show resolved Hide resolved
feiazifeiazi

This comment was marked as outdated.

@LeoQuote LeoQuote merged commit 9477201 into hhyo:master Apr 12, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants