Skip to content

Commit aa5c523

Browse files
Update indexeddb_index_manager.ts
1 parent 56e7441 commit aa5c523

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/firestore/src/local/indexeddb_index_manager.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -873,14 +873,14 @@ export class IndexedDbIndexManager implements IndexManager {
873873
const bounds: IndexEntry[] = [];
874874
bounds.push(lower);
875875
for (const notInValue of notInValues) {
876-
const cpmToLower = indexEntryComparator(notInValue, lower);
876+
const cmpToLower = indexEntryComparator(notInValue, lower);
877877
const cmpToUpper = indexEntryComparator(notInValue, upper);
878878

879-
if (cpmToLower === 0) {
879+
if (cmpToLower === 0) {
880880
// `notInValue` is the lower bound. We therefore need to raise the bound
881881
// to the next value.
882882
bounds[0] = lower.successor();
883-
} else if (cpmToLower > 0 && cmpToUpper < 0) {
883+
} else if (cmpToLower > 0 && cmpToUpper < 0) {
884884
// `notInValue` is in the middle of the range
885885
bounds.push(notInValue);
886886
bounds.push(notInValue.successor());

0 commit comments

Comments
 (0)