canvas-lms/config
Ethan Vizitei bf534dab69 fix find_in_batches problem
FIXES CNVS-49060
flag = none

when the row count is exactly
the size of the batch, this
prevents the find_in_batches
code from erroring

TEST PLAN:
  1) find things in batches
  2) force it to make a temp_table with exactly batch_size
  3) batch iteration does not fail

Change-Id: I81ce7f6a58fa45e8041f814bac4cf5ec12879026
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/236102
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Gentry Beckmann <gbeckmann@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-05-03 15:47:15 +00:00
..
environments remove bullet from development config 2019-09-13 20:09:43 +00:00
feature_flags Include vendor_guid when exporting course content with outcomes 2020-04-30 16:49:10 +00:00
initializers fix find_in_batches problem 2020-05-03 15:47:15 +00:00
locales update zh-Hans translation 2020-05-03 05:46:35 +00:00
saml add first class support for the UK Federation 2017-08-08 20:26:52 +00:00
amazon_s3.yml.example aws sdk v2 support for attachments 2017-01-24 21:09:14 +00:00
application.rb move Switchman.cache setup even earlier in the boot process 2020-04-16 17:24:58 +00:00
boot.rb Revert "Speed up boot time with bootsnap" 2017-05-22 23:24:32 +00:00
bounce_notifications.yml.example convert bounce notification processor to aws sdk v2 2016-12-13 19:33:43 +00:00
brakeman.ignore A2: add user search to submissions in graphql 2019-04-05 19:56:42 +00:00
brandable_css.yml make feature flags for Right To Left layout 2018-03-21 21:09:38 +00:00
browsers.yml Revert "Update browsers file" 2020-03-17 19:41:26 +00:00
cache_store.yml.example use rails built-in RedisCacheStore 2019-08-09 20:22:56 +00:00
canvas_cdn.yml.example Remove enabled: setting from canvs_cdn.yml.example 2019-07-22 20:22:10 +00:00
canvas_rails_switcher.rb tweak canvas_rails_switcher.rb 2019-08-05 16:34:16 +00:00
cassandra.yml.example improve cassandra documentation 2017-09-29 19:28:08 +00:00
conditional_release.yml.example add functionality to get rules affecting an assignment 2016-10-06 18:51:07 +00:00
consul.yml.example Add dc config to jwk set_keys 2018-08-10 17:44:48 +00:00
copyright-template.js [eslint] have --fix add copyright header for you 2018-02-15 20:01:41 +00:00
cutycapt.yml.example
database.yml.example remove queue from production database.yml.example 2016-01-26 18:07:23 +00:00
database.yml.travis
delayed_jobs.yml.example allow enabling inst-jobs health checks 2018-05-11 19:22:32 +00:00
docker-compose.override.yml.example Remove DATABASE_URL from docker dev envs 2020-04-29 19:09:35 +00:00
domain.yml.example Use same_site none for session store for relative file links 2020-02-27 21:01:01 +00:00
dynamic_settings.yml.example replace new relic rum with datadog rum 2020-04-01 15:31:49 +00:00
dynamodb.yml.example Revert "load dynamodb config from consul instead of yml" 2019-10-01 21:22:56 +00:00
environment.rb da licença part 23 2017-04-27 21:51:35 +00:00
external_migration.yml.example
file_store.yml.example
incoming_mail.yml.example
linked_in.yml.example
logging.yml.example
marginalia.yml.example record migration name in marginalia comment 2016-03-09 04:00:47 +00:00
memcache.yml.example
notification_failures.yml.example convert notification_failure_processor to aws sdk v2 2016-12-16 18:47:48 +00:00
notification_service.yml.example convert notification service to AWS SDK v2 2016-10-31 17:44:57 +00:00
offline_web.yml.sample add canvas_offline_course_viewer to export package 2017-01-23 20:25:08 +00:00
outgoing_mail.yml.example
periodic_jobs.yml.example
puma.rb Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
raven.yml.example
redis.yml.example use rails built-in RedisCacheStore 2019-08-09 20:22:56 +00:00
routes.rb Restore users endpoint 2020-05-01 16:49:05 +00:00
saml.yml.example
security.yml.example Add client_credentials grant_type 2018-09-10 17:07:05 +00:00
selenium.yml.example docs: add auto_open_devtools to docker 2018-10-17 18:13:17 +00:00
session_store.yml.example Use same_site none for session store for relative file links 2020-02-27 21:01:01 +00:00
statsd.yml.example
styleguide.yml
testrail.yml.example
twilio.yml.example Send messages via Twilio 2015-09-14 15:46:23 +00:00
twitter.yml.example
vault.yml.example Add vault client to canvas 2020-02-03 19:00:13 +00:00