mdbx 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.md +10 -1
- data/README.md +1 -1
- data/ext/mdbx_ext/extconf.rb +1 -0
- data/ext/mdbx_ext/stats.c +8 -8
- data/lib/mdbx.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe7c3d5524ed5030252885014fc5f7c590ae758f85367bb532438ff0ef884c76
|
4
|
+
data.tar.gz: 21328669c0f8218c9ef1e6bdb8025fbdb6da47d1d766afdc275ff5633dbfbaf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 012750a1fd49c19496595443055416791af909095c75140c082389f0000c4b2f59e633ac2d26cfd9e3382fdbeba780a84c61d45780575616aca9f5eb42791c49
|
7
|
+
data.tar.gz: 4defe6f79ff92c0ec69111f32b25bde36a711b4536b6132748ac3d4d55dcb01dbcd2eff55d1508a87eb0fbaf41af4920953bb4b876c793be233e0fc0f7fe0a9d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.md
CHANGED
@@ -1,7 +1,16 @@
|
|
1
1
|
# Release History for MDBX
|
2
2
|
|
3
3
|
---
|
4
|
-
## v0.3.
|
4
|
+
## v0.3.6 [2024-06-12] Mahlon E. Smith <mahlon@martini.nu>
|
5
|
+
|
6
|
+
|
7
|
+
Minutiae:
|
8
|
+
|
9
|
+
- Fix build for Clang/FreeBSD.
|
10
|
+
|
11
|
+
|
12
|
+
---
|
13
|
+
## v0.3.5 [2024-03-24] Mahlon E. Smith <mahlon@martini.nu>
|
5
14
|
|
6
15
|
Add support for libmdbx 0.12.x.
|
7
16
|
|
data/README.md
CHANGED
@@ -440,7 +440,7 @@ report any issues [here](https://code.martini.nu/fossil/ruby-mdbx/tktnew).
|
|
440
440
|
|
441
441
|
## License
|
442
442
|
|
443
|
-
Copyright (c) 2020-
|
443
|
+
Copyright (c) 2020-2024 Mahlon E. Smith
|
444
444
|
All rights reserved.
|
445
445
|
|
446
446
|
Redistribution and use in source and binary forms, with or without
|
data/ext/mdbx_ext/extconf.rb
CHANGED
data/ext/mdbx_ext/stats.c
CHANGED
@@ -65,21 +65,21 @@ rmdbx_gather_datafile_stats(
|
|
65
65
|
rb_hash_aset( environ, ID2SYM(rb_intern("datafile")), datafile );
|
66
66
|
|
67
67
|
rb_hash_aset( datafile, ID2SYM(rb_intern("size_current")),
|
68
|
-
|
68
|
+
LONG2NUM(menvinfo.mi_geo.current) );
|
69
69
|
rb_hash_aset( datafile, ID2SYM(rb_intern("pages")),
|
70
|
-
|
70
|
+
LONG2NUM(menvinfo.mi_geo.current / mstat.ms_psize) );
|
71
71
|
|
72
72
|
if ( menvinfo.mi_geo.lower != menvinfo.mi_geo.upper ) {
|
73
73
|
rb_hash_aset( datafile, ID2SYM(rb_intern("type")),
|
74
74
|
rb_str_new_cstr("dynamic") );
|
75
75
|
rb_hash_aset( datafile, ID2SYM(rb_intern("size_lower")),
|
76
|
-
|
76
|
+
LONG2NUM( menvinfo.mi_geo.lower ) );
|
77
77
|
rb_hash_aset( datafile, ID2SYM(rb_intern("size_upper")),
|
78
78
|
LONG2FIX( menvinfo.mi_geo.upper ) );
|
79
79
|
rb_hash_aset( datafile, ID2SYM(rb_intern("growth_step")),
|
80
|
-
|
80
|
+
LONG2NUM( menvinfo.mi_geo.grow ) );
|
81
81
|
rb_hash_aset( datafile, ID2SYM(rb_intern("shrink_threshold")),
|
82
|
-
|
82
|
+
LONG2NUM( menvinfo.mi_geo.shrink ) );
|
83
83
|
}
|
84
84
|
else {
|
85
85
|
rb_hash_aset( datafile, ID2SYM(rb_intern("type")),
|
@@ -115,9 +115,9 @@ rmdbx_gather_environment_stats(
|
|
115
115
|
rb_hash_aset( environ, ID2SYM(rb_intern("entries")),
|
116
116
|
LONG2NUM(mstat.ms_entries) );
|
117
117
|
rb_hash_aset( environ, ID2SYM(rb_intern("last_txnid")),
|
118
|
-
|
118
|
+
LONG2NUM(menvinfo.mi_recent_txnid) );
|
119
119
|
rb_hash_aset( environ, ID2SYM(rb_intern("last_reader_txnid")),
|
120
|
-
|
120
|
+
LONG2NUM(menvinfo.mi_latter_reader_txnid) );
|
121
121
|
rb_hash_aset( environ, ID2SYM(rb_intern("max_readers")),
|
122
122
|
INT2NUM(menvinfo.mi_maxreaders) );
|
123
123
|
rb_hash_aset( environ, ID2SYM(rb_intern("readers_in_use")),
|
@@ -153,7 +153,7 @@ rmdbx_reader_list_cb(
|
|
153
153
|
rb_hash_aset( reader, ID2SYM(rb_intern("pid")),
|
154
154
|
LONG2FIX( pid ) );
|
155
155
|
rb_hash_aset( reader, ID2SYM(rb_intern("thread")),
|
156
|
-
LONG2FIX( thread ) );
|
156
|
+
LONG2FIX( (uint64_t)thread ) );
|
157
157
|
rb_hash_aset( reader, ID2SYM(rb_intern("txnid")),
|
158
158
|
LONG2FIX( txnid ) );
|
159
159
|
rb_hash_aset( reader, ID2SYM(rb_intern("lag")),
|
data/lib/mdbx.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mdbx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mahlon E. Smith
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
49pOzX5KHZLTS9DKeaP/xcGPz6C8MiwQdYrZarr2SHRASX1zFa79rkItO8kE6RDr
|
35
35
|
b6WDF79UvZ55ajtE00TiwqjQL/ZPEtbd
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date: 2024-
|
37
|
+
date: 2024-06-12 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: loggability
|
@@ -222,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
222
|
- !ruby/object:Gem::Version
|
223
223
|
version: '0'
|
224
224
|
requirements: []
|
225
|
-
rubygems_version: 3.
|
225
|
+
rubygems_version: 3.5.10
|
226
226
|
signing_key:
|
227
227
|
specification_version: 4
|
228
228
|
summary: A ruby binding to libmdbx, an improved version of the Lightning Memory Mapped
|
metadata.gz.sig
CHANGED
Binary file
|