Minor update for 0.13.x.

FossilOrigin-Name: dc509ba810fb153efeaf860ffc2eca2b11daa83d2fd5688fd8d7d0f8144c158a
This commit is contained in:
Mahlon E. Smith 2025-02-06 19:28:46 +00:00
parent f3b04f50f4
commit 48cd5e7ad7
3 changed files with 5 additions and 10 deletions

View file

@ -423,7 +423,7 @@ development.
## Reporting Issues
Tests are performed against the latest stable MRI Ruby, and I endeavor to test
against the latest stable libmdbx (as of this writing, the 0.12.x versioning),
against the latest stable libmdbx (as of this writing, the 0.13.x versioning),
on both x86 and ARM chipsets.
Things may work for you in other environments - I'm just not matrix testing
@ -440,7 +440,7 @@ report any issues [here](https://code.martini.nu/fossil/ruby-mdbx/tktnew).
## License
Copyright (c) 2020-2024 Mahlon E. Smith
Copyright (c) 2020-2025 Mahlon E. Smith
All rights reserved.
Redistribution and use in source and binary forms, with or without

View file

@ -805,8 +805,8 @@ rmdbx_database_initialize( int argc, VALUE *argv, VALUE self )
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_NOSUBDIR;
opt = rb_hash_delete( opts, ID2SYM( rb_intern("no_readahead") ) );
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_NORDAHEAD;
opt = rb_hash_delete( opts, ID2SYM( rb_intern("no_threadlocal") ) );
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_NOTLS;
opt = rb_hash_delete( opts, ID2SYM( rb_intern("no_stickythreads") ) );
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_NOSTICKYTHREADS;
opt = rb_hash_delete( opts, ID2SYM( rb_intern("readonly") ) );
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_RDONLY;
opt = rb_hash_delete( opts, ID2SYM( rb_intern("writemap") ) );

View file

@ -32,11 +32,6 @@ class MDBX::Database
### Unless otherwise mentioned, option keys are symbols, and values
### are boolean.
###
### [:coalesce]
### Attempt to coalesce items for the garbage collector,
### potentialy increasing the chance of unallocating storage
### earlier.
###
### [:compatible]
### Skip compatibility checks when opening an in-use database with
### unknown or mismatched flag values.
@ -83,7 +78,7 @@ class MDBX::Database
### random reads wunder low memory conditions. Default behavior
### is to dynamically choose when to use or omit readahead.
###
### [:no_threadlocal]
### [:no_stickythreads]
### Parallelize read-only transactions across threads. Writes are
### always thread local. (See MDBX documentation for details.)
###