]> git.saurik.com Git - redis.git/commit
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:37:14 +0000 (11:37 +0200)
commitacf41c96cbeb9fcbaefc321b65a6a7c3053be75e
tree82c97d667a007c4a161847e0f12d62446a9d81a9
parent8ec9b03c6b6bf266c2d16afc0d968181c7baea85
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