diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-26 03:39:58 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-26 03:39:58 +0200 |
commit | d98c1b09c737b8cc1f71b48e1f5b4598fa93db78 (patch) | |
tree | a106982d7005a8ce6e2b6dc5fe735db4afd6f426 /packages/idb-bridge/src | |
parent | 6cea1f7c5b6ea356870df460e9e40c7dcb67ca2d (diff) |
idb: fix bug in index iteration
Diffstat (limited to 'packages/idb-bridge/src')
-rw-r--r-- | packages/idb-bridge/src/MemoryBackend.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/idb-bridge/src/MemoryBackend.ts b/packages/idb-bridge/src/MemoryBackend.ts index 29c14dcd4..44da137ff 100644 --- a/packages/idb-bridge/src/MemoryBackend.ts +++ b/packages/idb-bridge/src/MemoryBackend.ts @@ -1076,6 +1076,7 @@ export class MemoryBackend implements Backend { const res = indexData.nextHigherPair(indexPos); if (res) { indexEntry = res[1]; + indexPos = indexEntry.indexKey; } } |