SCAN: when iterating ziplists or intsets always return cursor of 0.
SCAN: when iterating ziplists or intsets always return cursor of 0.

The previous implementation assumed that the first call always happens
with cursor set to 0, this may not be the case, and we want to return 0
anyway otherwise the (broken) client code will loop forever.

powerumc/MyRedis_old,oaastest/redis,Cybermaxs/redis,jaambee/redis,nandhanurrevanth/redis,upsoft/redis,nandhanurrevanth/redis,adamweixuan/redis,nandhanurrevanth/redis,Jonavin/redis,kolonse/redis,alpha8/redis,enginekit/redis,nandhanurrevanth/redis,jqk6/redis,crask/redis-cutter,fanxu/redis,shanegxxiao/redis,miminus/redis,adamweixuan/redis,adamweixuan/redis,jqk6/redis,damy/redis,kts12345/redis,kts12345/redis,hanmichael/redis,hanmichael/redis,jacklee0810/redis,jacklee0810/redis,upsoft/redis,quangnguyen90/redis,ScottKaiGu/redis,alpha8/redis,kts12345/redis,liqiang199105/redis,liqiang199105/redis,kolonse/redis,oaastest/redis,ideaar/redis,laurencee/redis,erwin00776/redis-2.8-optimize,miminus/redis,LittlePeng/redis,jacklee0810/redis,enginekit/redis,enginekit/redis,kolonse/redis,Cybermaxs/redis,liqiang199105/redis,Jonavin/redis,janeasystems/redis,shanegxxiao/redis,upsoft/redis,sidsen/redis,nandhanurrevanth/redis,janeasystems/redis,alpha8/redis,shanegxxiao/redis,ideaar/redis,ScottKaiGu/redis,janeasystems/redis,jqk6/redis,shanegxxiao/redis,fanxu/redis,sidsen/redis,laurencee/redis,jacklee0810/redis,laurencee/redis,quangnguyen90/redis,damy/redis,alpha8/redis,crask/redis-cutter,quangnguyen90/redis,crask/redis-cutter,Cybermaxs/redis,kts12345/redis,damy/redis,oaastest/redis,jacklee0810/redis,Jonavin/redis,powerumc/MyRedis,quangnguyen90/redis,Jonavin/redis,kts12345/redis,fanxu/redis,StartTheShift/redis-shift,ScottKaiGu/redis,powerumc/MyRedis,ScottKaiGu/redis,sidsen/redis,enginekit/redis,erwin00776/redis-2.8-optimize,jaambee/redis,kolonse/redis,sidsen/redis,hanmichael/redis,fanxu/redis,upsoft/redis,miminus/redis,alpha8/redis,laurencee/redis,LittlePeng/redis,adamweixuan/redis,miminus/redis,erwin00776/redis-2.8-optimize,powerumc/MyRedis_old,StartTheShift/redis-shift,powerumc/MyRedis,Cybermaxs/redis,quangnguyen90/redis,shanegxxiao/redis,ideaar/redis,enginekit/redis,ideaar/redis,damy/redis,ScottKaiGu/redis,hanmichael/redis,StartTheShift/redis-shift,oaastest/redis,janeasystems/redis,janeasystems/redis,oaastest/redis,jaambee/redis,sidsen/redis,kolonse/redis,erwin00776/redis-2.8-optimize,ideaar/redis,liqiang199105/redis,jaambee/redis,sidsen/redis,LittlePeng/redis,powerumc/MyRedis_old,upsoft/redis,Cybermaxs/redis,liqiang199105/redis,miminus/redis,adamweixuan/redis,hanmichael/redis,damy/redis,jqk6/redis,Jonavin/redis,laurencee/redis,jaambee/redis,jqk6/redis,powerumc/MyRedis_old