diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2017-04-11 18:04:53 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2017-04-12 00:03:21 +0300 |
commit | e3723983446328bc5cb89c2b6f1de2666891f356 (patch) | |
tree | 0bf92ce8d5e39810a3fa9c9fa2a66fbaf2ee039a /common.h | |
parent | cb2c4d64a358ca57175c2c5711e99338914c62a3 (diff) |
Modifying `redis_error_throw` to throw exception for all non recoverable errors.
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -454,14 +454,6 @@ typedef enum _PUBSUB_TYPE { #define BITOP_MIN_OFFSET 0 #define BITOP_MAX_OFFSET 4294967295U -/* Specific error messages we want to throw against */ -#define REDIS_ERR_LOADING_MSG "LOADING Redis is loading the dataset in memory" -#define REDIS_ERR_LOADING_KW "LOADING" -#define REDIS_ERR_AUTH_MSG "NOAUTH Authentication required." -#define REDIS_ERR_AUTH_KW "NOAUTH" -#define REDIS_ERR_SYNC_MSG "MASTERDOWN Link with MASTER is down and slave-serve-stale-data is set to 'no'" -#define REDIS_ERR_SYNC_KW "MASTERDOWN" - #define IF_ATOMIC() if (redis_sock->mode == ATOMIC) #define IF_NOT_ATOMIC() if (redis_sock->mode != ATOMIC) #define IF_MULTI() if (redis_sock->mode == MULTI) |