File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
+ - [ changed] Potentially fixed a crash during application exit caused by an
3
+ assertion about ordering documents by missing fields (#9258 ).
2
4
- [ changed] Add more details to the assertion failure in Query::Comparator() to
3
5
help with future debugging (#9258 ).
4
6
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ void AssertBothOptionalsHaveValues(
67
67
ComparisonResult OrderBy::Compare (const Document& lhs,
68
68
const Document& rhs) const {
69
69
ComparisonResult result;
70
- if (field_ == FieldPath::KeyFieldPath ()) {
70
+ if (field_. IsKeyFieldPath ()) {
71
71
result = lhs->key ().CompareTo (rhs->key ());
72
72
} else {
73
73
absl::optional<google_firestore_v1_Value> value1 = lhs->field (field_);
You can’t perform that action at this time.
0 commit comments