Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-04-11 18:04:53 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-04-12 00:03:21 +0300
commite3723983446328bc5cb89c2b6f1de2666891f356 (patch)
tree0bf92ce8d5e39810a3fa9c9fa2a66fbaf2ee039a /common.h
parentcb2c4d64a358ca57175c2c5711e99338914c62a3 (diff)
Modifying `redis_error_throw` to throw exception for all non recoverable errors.
Diffstat (limited to 'common.h')
-rw-r--r--common.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/common.h b/common.h
index 8bc911ee..84f39c27 100644
--- a/common.h
+++ b/common.h
@@ -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)