mirror of
https://github.com/php-win-ext/phpredis.git
synced 2026-03-24 00:52:16 +01:00
Various small changes in cluster_library
This commit is contained in:
@@ -89,11 +89,7 @@
|
||||
/* Helper to either return a bool value or add it to MULTI response */
|
||||
#define CLUSTER_RETURN_BOOL(c, b) \
|
||||
if(CLUSTER_IS_ATOMIC(c)) { \
|
||||
if(b==1) {\
|
||||
RETURN_TRUE; \
|
||||
} else {\
|
||||
RETURN_FALSE; \
|
||||
} \
|
||||
RETURN_BOOL(b); \
|
||||
} else { \
|
||||
add_next_index_bool(&c->multi_resp, b); \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user