Commit Graph

  • 70cc12483d Use correct return type for PFADD michael-grunder 2015-05-04 14:22:31 -07:00
  • 530bf013da Convert tabs to spaces (tabs are the devil) :) michael-grunder 2015-04-24 20:19:32 -07:00
  • 16a9c52bd3 Adding back the session handler michael-grunder 2015-04-23 09:23:20 -07:00
  • f44f5dab61 Update to newer form of adding class constants michael-grunder 2015-04-23 09:20:56 -07:00
  • 4b974d2873 Use win32 function prototypes for lib functions michael-grunder 2015-03-13 19:49:59 -07:00
  • df1811ed3b reworked config.w32 Anatol Belski 2014-07-01 14:00:36 +02:00
  • 69c6c04eec Added RedisArray and RedisCluster to config.w32 and more win32 fixes michael-grunder 2015-03-13 16:30:33 -07:00
  • dad6cd9aec Fix C89 compatibility Pulled from: 00be281e1b michael-grunder 2015-03-13 15:41:19 -07:00
  • 400f11c7ab Fix usleep prototype michael-grunder 2015-03-13 15:09:01 -07:00
  • 9499949b1d fix random() vs php_rand() for portability Anatol Belski 2014-07-01 11:29:30 +02:00
  • 42535bdba2 Added unit test information to readme michael-grunder 2015-03-13 14:57:56 -07:00
  • 16438cb21b Better MUTLI EXEC explanation michael-grunder 2015-03-09 12:31:58 -07:00
  • 432bb9500b Spelling and formatting documentation changes michael-grunder 2015-03-08 15:29:57 -07:00
  • 308cd2c9dd A note about timeouts michael-grunder 2015-03-08 14:22:21 -07:00
  • 17188e1aed Use proper address for https://www.tradesy.com/ michael-grunder 2015-03-08 14:06:05 -07:00
  • ab2b972f1d Updated cluster documentation michael-grunder 2015-03-08 14:03:52 -07:00
  • 27797a5bd5 Initial cluster documentation michael-grunder 2015-03-08 13:46:24 -07:00
  • ed7e10d621 Added cluster specific test for SCAN michael-grunder 2015-03-07 16:06:10 -08:00
  • 51f5796880 DBSIZE is a long response, not bool michael-grunder 2015-03-07 16:02:56 -08:00
  • 489864274b Properly handle ECHO in MULTI or ATOMIC mode michael-grunder 2015-03-06 20:23:38 -08:00
  • 1725fccf40 Properly handle CLIENT variants :-) michael-grunder 2015-03-06 20:17:36 -08:00
  • 7e7eec6281 Make RedisCluster::client('list') work like Redis michael-grunder 2015-03-06 19:42:32 -08:00
  • 260852f562 Fix INFO command so it works in a MULTi EXEC block michael-grunder 2015-03-06 18:40:16 -08:00
  • 08ecec92a3 Unit test suite improvements and cluster failover test michael-grunder 2015-03-06 12:16:52 -08:00
  • 97c9edc3aa Sorted a memory leak in RedisArray and retabbed unit tests michael-grunder 2015-03-05 08:54:46 -08:00
  • 7ef7d07854 A few minor cluster and unit test fixes michael-grunder 2015-03-04 22:29:50 -08:00
  • 366363e4fa Properly handle MULTI lines within a MULTI-BULK of -1 (nil) michael-grunder 2015-03-04 17:39:23 -08:00
  • cfc557dfc3 Fix typo treating DEL as readonly and MGET as not michael-grunder 2015-03-04 15:15:01 -08:00
  • 2f8a2fc35e Fix variant reply handling in MULTI mode michael-grunder 2015-03-04 14:00:46 -08:00
  • 7a106d51d6 Response handler fixes michael-grunder 2015-03-04 13:54:44 -08:00
  • a70ba7f2e9 Multi-bulk serialization fixes michael-grunder 2015-03-04 07:52:33 -08:00
  • 54a521e227 Cluster fixes michael-grunder 2015-03-03 21:02:32 -08:00
  • 469e8e9377 Various cluster fixes and Unit test updates michael-grunder 2015-03-03 20:12:34 -08:00
  • 47b05f13b9 Even more unit test integration, mset fix michael-grunder 2015-03-02 22:08:30 -08:00
  • b1cea4d7bf RedisCluster::MULTI should return our object michael-grunder 2015-03-02 18:55:48 -08:00
  • 9b68c33f7a More unit test cleanup and key consolidation for multiple key commands michael-grunder 2015-03-02 18:53:30 -08:00
  • 88530eed4a Add cluster specific testInfo() method michael-grunder 2015-03-02 18:05:49 -08:00
  • 501561b255 More unit test formatting, and key renaming so tests work in cluster michael-grunder 2015-03-02 17:15:44 -08:00
  • b4a1a4e731 Bomb out on vararg command if we have one empty array (will always fail) michael-grunder 2015-03-02 16:31:13 -08:00
  • 6205504405 Unit test formatting, change to actual Redis commands. michael-grunder 2015-03-02 16:26:15 -08:00
  • 968ba49fa7 More unit test integration with cluster michael-grunder 2015-03-02 15:41:50 -08:00
  • 0b269cbb72 More RedisCluster fixes michael-grunder 2015-03-02 15:24:23 -08:00
  • 42b81c4f1c Allow del/mget to either take one array or be treated as variadic michael-grunder 2015-03-02 12:36:07 -08:00
  • cceb49c5a9 Kill more tabs with fire michael-grunder 2015-03-02 10:38:41 -08:00
  • b251c18730 Kill tabs with fire :-) michael-grunder 2015-03-02 10:31:07 -08:00
  • d7989b4d1b Throw on certain errors, auto reselect db (backport from develop) michael-grunder 2015-03-02 10:16:48 -08:00
  • 9c4de060e6 Fix rehashing memory leaks michael-grunder 2015-01-29 15:57:17 -08:00
  • 887eff0a9a Fix memory leaks in RedisArray (backport from develop) michael-grunder 2015-03-01 17:31:17 -08:00
  • 0efa2f7909 Allow pfcount to take a string or array michael-grunder 2015-03-01 17:13:36 -08:00
  • 9c67e7a63c Capture error for multibulk responses michael-grunder 2015-03-01 15:53:02 -08:00
  • 7e1f082054 Implement getMode for RedisCluster michael-grunder 2015-03-01 15:45:27 -08:00
  • 687a5ad64a Implements the getMode() command Rename command to rawCommand() as it's named in phpredis proper This introspection function will inform the caller what mode phpredis is in (atomic, pipeline, multi) michael-grunder 2014-11-30 12:24:44 -08:00
  • 2f368bfedc Backport memory leak fix from develop into redis_cluster michael-grunder 2015-03-01 15:35:38 -08:00
  • 892a322f53 Free the correct values in hset michael-grunder 2015-03-01 15:29:29 -08:00
  • f05d9054e0 Make sure our options are something valid michael-grunder 2015-03-01 14:44:28 -08:00
  • 21f5242174 We need to send GET for each value we're getting michael-grunder 2015-03-01 14:41:09 -08:00
  • 0a36429ee7 Add simple options to limit which tests are run michael-grunder 2015-03-01 14:23:46 -08:00
  • 55084a8ed9 Update tests to reflect that ZSCAN will return float scores michael-grunder 2015-03-01 13:43:52 -08:00
  • f7356527e8 Don't allow empty hash members, like older versions of phpredis michael-grunder 2015-03-01 13:36:10 -08:00
  • 9f3fdfec2d Small spelling fix ddrager 2015-01-20 15:10:58 -05:00
  • 2937b2b228 Adds 'quicklist' as a valid encoding type (new list type) michael-grunder 2015-03-01 13:12:33 -08:00
  • a6d35b15f2 Make sure we actually send the OBJECT command! michael-grunder 2015-03-01 13:00:12 -08:00
  • 1c314a664b Fix reply type for RPUSHX and LPUSHX michael-grunder 2015-03-01 12:48:47 -08:00
  • 076d2ed2e8 Use the correct response hanlder for SETEX michael-grunder 2015-03-01 12:38:37 -08:00
  • 92f620bcad Incorporate formalized multi-bulk proessing from develop michael-grunder 2015-03-01 12:34:21 -08:00
  • 4529e6ec12 Reintroduce the ability to pass an optional long argument to incr/decr michael-grunder 2015-03-01 10:14:58 -08:00
  • 7453c885ef Remove empty diff/union tests michael-grunder 2015-02-28 15:51:45 -08:00
  • b809bd8a47 More multiple argument 'incr'/'decr' commands removed from tests michael-grunder 2015-02-28 15:44:59 -08:00
  • 0c8001d977 Fix double free in redis_sort_cmd michael-grunder 2015-02-28 15:38:04 -08:00
  • 113ceae78c Update tests to stop calling 'incr' and 'decr' with an argument. michael-grunder 2015-02-28 13:55:06 -08:00
  • 79cb6a8905 Initial commit reworking unit tests michael-grunder 2015-02-28 12:38:09 -08:00
  • b1ee9be873 We don't need to protect against CROSSLOT if we're not hashing michael-grunder 2015-02-28 09:58:25 -08:00
  • 479487e66c Initial commit of a simple script to create a redis cluster michael-grunder 2015-02-28 09:57:12 -08:00
  • d2d6f0d366 Fix detection of "before" and "after" michael-grunder 2015-02-28 09:06:45 -08:00
  • 224155ef6b Use cluster_send_slot for EXEC as we'll want to capture the MULTI-BULK len, which isn't handled properly by cluster_send_direct. michael-grunder 2015-02-26 10:48:11 -08:00
  • f7f1e9d600 We need to process the whole line when sending direct mode commands michael-grunder 2015-02-26 08:48:51 -08:00
  • 043b360651 More updates for auto-failover logic michael-grunder 2015-02-26 07:43:20 -08:00
  • 0bb500c1e0 Added options for slave failover michael-grunder 2015-02-23 15:32:35 -08:00
  • 060837f9ed Add functionality to specify cluster configuration in redis.ini michael-grunder 2015-02-23 12:08:46 -08:00
  • 8b2fc3f087 Fix pesky ZTS compile errors michael-grunder 2015-02-21 21:21:22 -08:00
  • cc8dde6fa2 Fix ZTS typos michael-grunder 2015-02-07 21:13:56 -08:00
  • 55f1835e2e Remove deprecated defines michael-grunder 2015-01-27 14:15:56 -08:00
  • 24823ef2ff Minor formatting, cleanup michael-grunder 2014-12-09 10:26:48 -08:00
  • a271c4852c Initial commit incorporating a "readonly" flag. michael-grunder 2014-12-04 14:29:56 -08:00
  • 48e6e67a82 Initial commit of formalized "redirection" timeout logic michael-grunder 2014-12-01 21:06:31 -08:00
  • d804342a6f Fix variant reply handling michael-grunder 2014-12-01 15:22:29 -08:00
  • 1a231a979b More formatting michael-grunder 2014-12-01 12:57:29 -08:00
  • 46634a2928 Formatting michael-grunder 2014-12-01 12:53:01 -08:00
  • fd4bda8f6a Don't call SMEMBERS for an SCARD operation :) michael-grunder 2014-09-11 08:21:46 -07:00
  • 15be7babcc INFO can take an argument michael-grunder 2014-07-23 15:52:17 -07:00
  • 03f2394838 Don't leak memory in KEYS :) michael-grunder 2014-07-23 14:18:07 -07:00
  • 383528d696 KEYS command michael-grunder 2014-07-23 14:15:37 -07:00
  • 6b9d4d2941 Added READONLY and READWRITE RESP for future slave failover logic michael-grunder 2014-07-23 13:20:40 -07:00
  • f732883530 php_stream_gets is a char* return, not int michael-grunder 2014-07-23 13:20:11 -07:00
  • c88cb399ce Skip the failed node when falling back michael-grunder 2014-07-17 10:41:21 -07:00
  • a65301bc2e Update redirection logic to throw on CLUSTERDOWN michael-grunder 2014-07-16 16:57:25 -07:00
  • 5ed61ea305 Added getlasterror()/clearlasterror() routines, and a "last redirection" introspection method. michael-grunder 2014-07-16 16:35:10 -07:00
  • 6b31088375 Check for empty slave hosts michael-grunder 2014-07-16 16:07:11 -07:00
  • 394708cbd4 Initialize variable to avoid a segfault if all nodes are downo michael-grunder 2014-07-15 12:15:06 -07:00
  • 05597f1e6d Add a no_throw option to redis_check_eof michael-grunder 2014-07-15 10:51:13 -07:00