antirez/redis — pull request #257 by miaout17 (2011-12-19 11:50:59+00:00)
Title: Fix issue #247 and add a test case

Some commands uses `atoi` and accepts non-numerical string as integer parameter. Using `getLongFromObjectOrReply` instead of `atoi` to fix the issue.

Besides, added a test case for SORT-LIMIT statement.