Commit 9d3f5d3
FilteredBackingStore: improve compareObjectsById when filters differ
Summary:
# This diff
Fixes a bug in compareObjectsById that causes two FilteredObjectIds to be considered different if their filters are not bytewise equal (despite being semantically equal).
Only one line of code needs to change -- we check if filters are identical rather than checking if they're bytewise equal.
Reviewed By: vilatto
Differential Revision: D87029066
fbshipit-source-id: 2ee80a9cdc49d148a9ab2569f131b522034261a11 parent ab6bf9e commit 9d3f5d3
2 files changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
| 167 | + | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
826 | 826 | | |
827 | 827 | | |
828 | 828 | | |
829 | | - | |
830 | | - | |
831 | | - | |
832 | | - | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
833 | 835 | | |
834 | 836 | | |
835 | | - | |
| 837 | + | |
836 | 838 | | |
837 | 839 | | |
838 | 840 | | |
| |||
0 commit comments