Skip to content

Commit

Permalink
Finish merge
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Jun 8, 2024
1 parent c7d5d94 commit 95e9bf9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion native.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { dirname, join, default as pathModule } from 'path';
import { fileURLToPath } from 'url';
import loadNAPI from 'node-gyp-build-optional-packages';
<<<<<<< HEAD
export let Env,
Txn,
Dbi,
Expand Down
6 changes: 1 addition & 5 deletions open.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,8 @@ export function open(path, options) {
let isLegacyLMDB = version.patch < 90;
let remapChunks = (options.remapChunks || options.encryptionKey || (options.mapSize ?
(is32Bit && options.mapSize > 0x100000000) : // larger than fits in address space, must use dynamic maps
<<<<<<< HEAD
is32Bit); // without a known map size, we default to being able to handle large data correctly/well*/
let userMapSize = options.mapSize;
=======
is32Bit)) && !isLegacyLMDB; // without a known map size, we default to being able to handle large data correctly/well*/
>>>>>>> ebb5046 (Adjust tests and settings for V1)
let userMapSize = options.mapSize;
options = Object.assign({
noSubdir: Boolean(extension),
isRoot: true,
Expand Down
2 changes: 1 addition & 1 deletion test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
keyValueToBuffer,
levelup,
open,
version
version,
TIMESTAMP_PLACEHOLDER,
DIRECT_WRITE_PLACEHOLDER,
} from '../node-index.js';
Expand Down

0 comments on commit 95e9bf9

Please sign in to comment.