lp:~therp-nl/ocb-server/6.1-lp1062795-search_m2m_negative_gives_wrong_results_fix_trans
- Get this branch:
- bzr branch lp:~therp-nl/ocb-server/6.1-lp1062795-search_m2m_negative_gives_wrong_results_fix_trans
Branch merges
Branch information
Recent revisions
- 4311. By Stefan Rijnhart (Opener)
-
[MRG] lp:~therp-nl/therp-backports/server-6.1-lp1062795-search_m2m_negative_gives_wrong_results
- 4310. By Olivier Dony (Odoo)
-
[FIX] OPW 592482: browse_record should not prefetch binary fields
This was apparently a long-standing issue due to a
strange handling of the _prefetch attribute on
columns: accessing a column would only trigger
the prefetching if its _prefetch attribute was
True, but the prefetching itself would also
prefetch columns that had _prefetch False.We clearly want it the other way around, or
at least we want _prefetch to decide whether
a column is included in any given prefetching
pass. We can skip the prefetching pass when
the only field being accessed has _prefetch
False because it is likely the other fields
have already been prefetched separately.
This last subtlety should not make any
noticeable performance difference.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ocb-server