]> git.saurik.com Git - redis.git/commit - src/sort.c
Marginally cleaner lookupKeyByPattern() implementation.
authorantirez <antirez@gmail.com>
Wed, 18 Apr 2012 09:37:14 +0000 (11:37 +0200)
committerantirez <antirez@gmail.com>
Wed, 18 Apr 2012 09:41:06 +0000 (11:41 +0200)
commitae55245d1c88361bb05934da1ad62469885ccca7
tree026642519ce11d034af9a3e20378a3414884b6d7
parent212bb9ca2e62019b3fc53ca080ab1d9884f81bec
Marginally cleaner lookupKeyByPattern() implementation.

just fieldobj itself as sentinel of the fact a field object is used or
not, instead of using the filed length, that may be confusing both for
people and for the compiler emitting a warning.
src/sort.c