This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (fieldlen > 0 ) { | |
if (o->type != REDIS_HASH || fieldname.len < 1) return NULL; | |
// Here is my new code inserted | |
// There is probably a better way to test for the [].. | |
if (fieldname.buf[0] == '[' && fieldname.buf[fieldname.len] == ']') { | |
// First - do I need to do something with the refCount on the o above? | |
decrRefCount(o); | |
// Then I need to somehow create an robj with REDIS_ENCODING_INT |
NewerOlder