Comparing version 2.9.3-beta.4-debug to 2.9.3-beta.5-debug
{ | ||
"name": "lmdb", | ||
"author": "Kris Zyp", | ||
"version": "2.9.3-beta.4-debug", | ||
"version": "2.9.3-beta.5-debug", | ||
"description": "Simple, efficient, scalable, high-performance LMDB interface", | ||
@@ -113,9 +113,9 @@ "license": "MIT", | ||
"optionalDependencies": { | ||
"@lmdb/lmdb-darwin-arm64": "2.9.3-beta.4-debug", | ||
"@lmdb/lmdb-darwin-x64": "2.9.3-beta.4-debug", | ||
"@lmdb/lmdb-linux-arm": "2.9.3-beta.4-debug", | ||
"@lmdb/lmdb-linux-arm64": "2.9.3-beta.4-debug", | ||
"@lmdb/lmdb-linux-x64": "2.9.3-beta.4-debug", | ||
"@lmdb/lmdb-win32-x64": "2.9.3-beta.4-debug" | ||
"@lmdb/lmdb-darwin-arm64": "2.9.3-beta.5-debug", | ||
"@lmdb/lmdb-darwin-x64": "2.9.3-beta.5-debug", | ||
"@lmdb/lmdb-linux-arm": "2.9.3-beta.5-debug", | ||
"@lmdb/lmdb-linux-arm64": "2.9.3-beta.5-debug", | ||
"@lmdb/lmdb-linux-x64": "2.9.3-beta.5-debug", | ||
"@lmdb/lmdb-win32-x64": "2.9.3-beta.5-debug" | ||
} | ||
} |
@@ -97,2 +97,5 @@ import { RangeIterable } from './util/RangeIterable.js'; | ||
outstandingReads++; | ||
if (!txn.address) { | ||
throw new Error('Invalid transaction, it has no address'); | ||
} | ||
let address = recordReadInstruction(txn.address, this.db.dbi, id, this.writeKey, maxKeySize, ( rc, bufferId, offset, size ) => { | ||
@@ -416,2 +419,5 @@ if (rc && rc !== 1) | ||
txnAddress = txn.address; | ||
if (!txnAddress) { | ||
throw new Error('Invalid transaction, it has no address'); | ||
} | ||
cursor = null; | ||
@@ -418,0 +424,0 @@ } else { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2442311
6484