in mem test - don't use writemap (#801)

This commit is contained in:
Alex Sharov 2022-12-23 14:37:55 +07:00 committed by GitHub
parent d2603c5730
commit 5c2433d8cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ func (opts MdbxOpts) InMem(tmpDir string) MdbxOpts {
}
opts.path = path
opts.inMem = true
opts.flags = mdbx.UtterlyNoSync | mdbx.NoMetaSync | mdbx.LifoReclaim | mdbx.WriteMap | mdbx.NoMemInit
opts.flags = mdbx.UtterlyNoSync | mdbx.NoMetaSync | mdbx.LifoReclaim | mdbx.NoMemInit
opts.mapSize = 512 * datasize.MB
return opts
}