Fix update_column_in_batches to update all rows
Fix update_column_in_batches to update all rows

This changes update_column_in_batches to ensure it always updates all
rows now. These changes also allow for an extra SELECT query to be
removed, nor does it use the row count for determining offsets and the
likes; instead it's only used to determine the batch size.

mr-dxdy/gitlabhq,shinexiao/gitlabhq,dreampet/gitlab,martijnvermaat/gitlabhq,icedwater/gitlabhq,htve/GitlabForChinese,LUMC/gitlabhq,shinexiao/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,mr-dxdy/gitlabhq,t-zuehlsdorff/gitlabhq,mmkassem/gitlabhq,icedwater/gitlabhq,dplarson/gitlabhq,dplarson/gitlabhq,openwide-java/gitlabhq,mr-dxdy/gitlabhq,darkrasid/gitlabhq,dreampet/gitlab,dplarson/gitlabhq,stoplightio/gitlabhq,jirutka/gitlabhq,screenpages/gitlabhq,Soullivaneuh/gitlabhq,martijnvermaat/gitlabhq,SVArago/gitlabhq,daiyu/gitlab-zh,Soullivaneuh/gitlabhq,t-zuehlsdorff/gitlabhq,mmkassem/gitlabhq,htve/GitlabForChinese,daiyu/gitlab-zh,jirutka/gitlabhq,openwide-java/gitlabhq,dplarson/gitlabhq,Soullivaneuh/gitlabhq,LUMC/gitlabhq,t-zuehlsdorff/gitlabhq,allysonbarros/gitlabhq,htve/GitlabForChinese,axilleas/gitlabhq,allysonbarros/gitlabhq,iiet/iiet-git,screenpages/gitlabhq,openwide-java/gitlabhq,martijnvermaat/gitlabhq,jirutka/gitlabhq,SVArago/gitlabhq,icedwater/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,t-zuehlsdorff/gitlabhq,stoplightio/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,screenpages/gitlabhq,daiyu/gitlab-zh,axilleas/gitlabhq,allysonbarros/gitlabhq,SVArago/gitlabhq,icedwater/gitlabhq,mr-dxdy/gitlabhq,axilleas/gitlabhq,darkrasid/gitlabhq,htve/GitlabForChinese,openwide-java/gitlabhq,iiet/iiet-git,darkrasid/gitlabhq,iiet/iiet-git,allysonbarros/gitlabhq,LUMC/gitlabhq,daiyu/gitlab-zh,Soullivaneuh/gitlabhq,iiet/iiet-git,SVArago/gitlabhq,shinexiao/gitlabhq,martijnvermaat/gitlabhq,darkrasid/gitlabhq,shinexiao/gitlabhq,jirutka/gitlabhq,screenpages/gitlabhq,LUMC/gitlabhq