diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-07-17 03:35:10 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 01:05:29 +0300 |
commit | 5ed61ea3055c21cd635f1d8d1f103f81a38888a8 (patch) | |
tree | 312fd6a2a0d7e54969bf5c89ff3026b62255b1d7 /cluster_library.c | |
parent | 6b3108837588dbb445d7a9910d6582f9cce707e6 (diff) |
Added getlasterror()/clearlasterror() routines, and a
"last redirection" introspection method.
Diffstat (limited to 'cluster_library.c')
-rw-r--r-- | cluster_library.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cluster_library.c b/cluster_library.c index c681a17e..16f02d0f 100644 --- a/cluster_library.c +++ b/cluster_library.c @@ -380,6 +380,8 @@ static void cluster_set_err(redisCluster *c, char *err, int err_len) memcpy(c->err,err,err_len); c->err[err_len]='\0'; c->err_len = err_len; +php_printf("Set error to: %s\n", c->err); + } else { if(c->err) efree(c->err); c->err = NULL; |