{"action":"opened","issue":{"url":"https://api.github.com/repos/yinqiwen/ardb/issues/266","repository_url":"https://api.github.com/repos/yinqiwen/ardb","labels_url":"https://api.github.com/repos/yinqiwen/ardb/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/yinqiwen/ardb/issues/266/comments","events_url":"https://api.github.com/repos/yinqiwen/ardb/issues/266/events","html_url":"https://github.com/yinqiwen/ardb/issues/266","id":163984995,"number":266,"title":"ZSCAN BUG","user":{"login":"animalmatsuzawa","id":5828184,"avatar_url":"https://avatars.githubusercontent.com/u/5828184?v=3","gravatar_id":"","url":"https://api.github.com/users/animalmatsuzawa","html_url":"https://github.com/animalmatsuzawa","followers_url":"https://api.github.com/users/animalmatsuzawa/followers","following_url":"https://api.github.com/users/animalmatsuzawa/following{/other_user}","gists_url":"https://api.github.com/users/animalmatsuzawa/gists{/gist_id}","starred_url":"https://api.github.com/users/animalmatsuzawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/animalmatsuzawa/subscriptions","organizations_url":"https://api.github.com/users/animalmatsuzawa/orgs","repos_url":"https://api.github.com/users/animalmatsuzawa/repos","events_url":"https://api.github.com/users/animalmatsuzawa/events{/privacy}","received_events_url":"https://api.github.com/users/animalmatsuzawa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-06T02:18:23Z","updated_at":"2016-07-06T02:18:23Z","closed_at":null,"body":"zscan does not work.\r\n\r\nIn a careless mistake?\r\n```\r\ndiff --git a/src/db/db.cpp b/src/db/db.cpp\r\nindex a469c6a..2338fc9 100755\r\n--- a/src/db/db.cpp\r\n+++ b/src/db/db.cpp\r\n@@ -288,7 +288,7 @@ OP_NAMESPACE_BEGIN\r\n         { \"zunionstore\", REDIS_CMD_ZUNIONSTORE, &Ardb::ZUnionStore, 3, -1, \"w\r\n         { \"zrevrank\", REDIS_CMD_ZREVRANK, &Ardb::ZRevRank, 2, 2, \"r\", 0, 0, 0\r\n         { \"zscore\", REDIS_CMD_ZSCORE, &Ardb::ZScore, 2, 2, \"r\", 0, 0, 0 },\r\n-        { \"zscan\", REDIS_CMD_ZSCORE, &Ardb::ZScan, 2, 6, \"r\", 0, 0, 0 },\r\n+        { \"zscan\", REDIS_CMD_ZSCAN, &Ardb::ZScan, 2, 6, \"r\", 0, 0, 0 },\r\n         { \"zlexcount\", REDIS_CMD_ZLEXCOUNT, &Ardb::ZLexCount, 3, 3, \"r\", 0, 0\r\n         { \"zrangebylex\", REDIS_CMD_ZRANGEBYLEX, &Ardb::ZRangeByLex, 3, 6, \"r\"\r\n         { \"zrevrangebylex\", REDIS_CMD_ZREVRANGEBYLEX, &Ardb::ZRangeByLex, 3, \r\n\r\n```"}}
{"actor":{"display_login":"animalmatsuzawa"}}