Minor update for 0.13.x.
FossilOrigin-Name: dc509ba810fb153efeaf860ffc2eca2b11daa83d2fd5688fd8d7d0f8144c158a
This commit is contained in:
parent
f3b04f50f4
commit
48cd5e7ad7
3 changed files with 5 additions and 10 deletions
|
|
@ -423,7 +423,7 @@ development.
|
||||||
## Reporting Issues
|
## Reporting Issues
|
||||||
|
|
||||||
Tests are performed against the latest stable MRI Ruby, and I endeavor to test
|
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.
|
on both x86 and ARM chipsets.
|
||||||
|
|
||||||
Things may work for you in other environments - I'm just not matrix testing
|
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
|
## License
|
||||||
|
|
||||||
Copyright (c) 2020-2024 Mahlon E. Smith
|
Copyright (c) 2020-2025 Mahlon E. Smith
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
||||||
|
|
@ -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;
|
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_NOSUBDIR;
|
||||||
opt = rb_hash_delete( opts, ID2SYM( rb_intern("no_readahead") ) );
|
opt = rb_hash_delete( opts, ID2SYM( rb_intern("no_readahead") ) );
|
||||||
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_NORDAHEAD;
|
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_NORDAHEAD;
|
||||||
opt = rb_hash_delete( opts, ID2SYM( rb_intern("no_threadlocal") ) );
|
opt = rb_hash_delete( opts, ID2SYM( rb_intern("no_stickythreads") ) );
|
||||||
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_NOTLS;
|
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_NOSTICKYTHREADS;
|
||||||
opt = rb_hash_delete( opts, ID2SYM( rb_intern("readonly") ) );
|
opt = rb_hash_delete( opts, ID2SYM( rb_intern("readonly") ) );
|
||||||
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_RDONLY;
|
if ( RTEST(opt) ) db->settings.env_flags = db->settings.env_flags | MDBX_RDONLY;
|
||||||
opt = rb_hash_delete( opts, ID2SYM( rb_intern("writemap") ) );
|
opt = rb_hash_delete( opts, ID2SYM( rb_intern("writemap") ) );
|
||||||
|
|
|
||||||
|
|
@ -32,11 +32,6 @@ class MDBX::Database
|
||||||
### Unless otherwise mentioned, option keys are symbols, and values
|
### Unless otherwise mentioned, option keys are symbols, and values
|
||||||
### are boolean.
|
### are boolean.
|
||||||
###
|
###
|
||||||
### [:coalesce]
|
|
||||||
### Attempt to coalesce items for the garbage collector,
|
|
||||||
### potentialy increasing the chance of unallocating storage
|
|
||||||
### earlier.
|
|
||||||
###
|
|
||||||
### [:compatible]
|
### [:compatible]
|
||||||
### Skip compatibility checks when opening an in-use database with
|
### Skip compatibility checks when opening an in-use database with
|
||||||
### unknown or mismatched flag values.
|
### unknown or mismatched flag values.
|
||||||
|
|
@ -83,7 +78,7 @@ class MDBX::Database
|
||||||
### random reads wunder low memory conditions. Default behavior
|
### random reads wunder low memory conditions. Default behavior
|
||||||
### is to dynamically choose when to use or omit readahead.
|
### is to dynamically choose when to use or omit readahead.
|
||||||
###
|
###
|
||||||
### [:no_threadlocal]
|
### [:no_stickythreads]
|
||||||
### Parallelize read-only transactions across threads. Writes are
|
### Parallelize read-only transactions across threads. Writes are
|
||||||
### always thread local. (See MDBX documentation for details.)
|
### always thread local. (See MDBX documentation for details.)
|
||||||
###
|
###
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue