diff options
author | michael-grunder <michael.grunder@gmail.com> | 2012-08-09 03:09:57 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2012-08-09 03:09:57 +0400 |
commit | 691786bc7f547836d849d4830c03411856779aab (patch) | |
tree | b735d7650506d2aee4809cb80051fa4b2bffd7ea /library.c | |
parent | a568029864166114e0ca45b69518a69d40501ecb (diff) |
Properly apply a prefix on sort(), sortAsc(), and sortDesc() methods with an
included unit test to make sure it's working properly.
This fixes issue #226
Diffstat (limited to 'library.c')
-rw-r--r-- | library.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1276,6 +1276,8 @@ redis_serialize(RedisSock *redis_sock, zval *z, char **val, int *val_len TSRMLS_ break; } + int tvar = EG(precision); + /* return string */ convert_to_string(z_copy); *val = Z_STRVAL_P(z_copy); |