Repository navigation
using #joins does not imply readonly = true. - #10769
rafaelfranca merged 2 commits into
Conversation
|
@rafaelfranca @jonleighton can you take a look? |
|
@neerajdotname maybe you could also take a look? |
|
I personally find that Finding out all the cases were @senny while you are at it, please also cleanup usage of Add something like this to change log I'm +1 on this PR. |
|
@senny is it marked as readonly with explicit |
|
@rafaelfranca if there is any select then Parsing the select statement to see which of the columns belong to primary table and which ones belong to join table will be brittle and error-prone. Hence my take that lets leave it upto the user. |
👍 to this as it's the approach taken with the |
|
@neerajdotname I removed the references from |
|
Seems good. We need to add this to the upgrading guide too. (Better to start soon) |
|
@senny looks good. +1 from me. |
|
@rafaelfranca what do you want to have covered in the guides? you no longer need |
…donly_records using `#joins` does not imply `readonly = true`.
Fixes #10615
Before this patch using
#joinsresulted in areadonlyresult. However the executed query only selects the columns from the primary table. For example:As far as I can tell there is no reason we need to mark these records as
readonly.