gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-wallet-webex] branch master updated: idb: fix bug in


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-webex] branch master updated: idb: fix bug in index iteration
Date: Mon, 26 Aug 2019 03:40:17 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-webex.

The following commit(s) were added to refs/heads/master by this push:
     new d98c1b09 idb: fix bug in index iteration
d98c1b09 is described below

commit d98c1b09c737b8cc1f71b48e1f5b4598fa93db78
Author: Florian Dold <address@hidden>
AuthorDate: Mon Aug 26 03:39:58 2019 +0200

    idb: fix bug in index iteration
---
 packages/idb-bridge/package.json         | 2 +-
 packages/idb-bridge/src/MemoryBackend.ts | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/packages/idb-bridge/package.json b/packages/idb-bridge/package.json
index 704bccf9..b8579b05 100644
--- a/packages/idb-bridge/package.json
+++ b/packages/idb-bridge/package.json
@@ -1,6 +1,6 @@
 {
   "name": "idb-bridge",
-  "version": "0.0.8",
+  "version": "0.0.9",
   "description": "IndexedDB implementation that uses SQLite3 as storage",
   "main": "./build/index.js",
   "types": "./build/index.d.ts",
diff --git a/packages/idb-bridge/src/MemoryBackend.ts 
b/packages/idb-bridge/src/MemoryBackend.ts
index 29c14dcd..44da137f 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;
         }
       }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]