Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Eager loading/preloading should be worked regardless of large number of records | Ryuta Kamizono | 2018-09-12 | 1 | -0/+4 |
Since 213796f, bind params are used for IN clause if enabled prepared statements. Unfortunately, most adapter modules have a limitation for # of bind params (mysql2 65535, pg 65535, sqlite3 250000). So if eager loading large number of records at once, that query couldn't be sent to the database. Since eager loading/preloading queries are auto-generated by Active Record itself, so it should be worked regardless of large number of records like as before. Fixes #33702. |