antirez/redis — pull request #258 by miaout17 (2011-12-19 12:07:35+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.

(Sorry, I just made some mistake when using github pull request. So I resent this pull request).