mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 11:41:20 +00:00
fixed a typo preventing compilation
This commit is contained in:
2
redis.c
2
redis.c
@ -2932,7 +2932,7 @@ static robj *createStringObject(char *ptr, size_t len) {
|
||||
|
||||
static robj *createStringObjectFromLongLong(long long value) {
|
||||
robj *o;
|
||||
if (value >= 0 && value < REDIS_SHARED_INTEGERS
|
||||
if (value >= 0 && value < REDIS_SHARED_INTEGERS &&
|
||||
pthread_equal(pthread_self(),server.mainthread)) {
|
||||
incrRefCount(shared.integers[value]);
|
||||
o = shared.integers[value];
|
||||
|
Reference in New Issue
Block a user