summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAxlgrep <axlgrep@gmail.com>2021-11-16 23:03:24 +0800
committerGitHub <noreply@github.com>2021-11-16 17:03:24 +0200
commit5f8ee3815c09595e8b6cd166fe8a3da18ff1d0fd (patch)
tree8c5db85240a100505b7f06a202bcac2cf4e7c8f2 /.github
parent992a610fe819c0bea381c5c717a218019362b40e (diff)
downloadredis-5f8ee3815c09595e8b6cd166fe8a3da18ff1d0fd.tar.gz
optimze the judgment logic of use_pattern in scanGenericCommand() (#9789)
in `scan 0 match ""` case, pat is empty sds(patlen is 0), I don't think should access the first character directly in this case(even though the first character is ' \0 '), for the code readability, I switch the two positions of judgment logic.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions