mdbx 0.2.0 → 0.3.3
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 +67 -0
- data/README.md +0 -7
- data/ext/mdbx_ext/database.c +482 -354
- data/ext/mdbx_ext/mdbx_ext.c +54 -0
- data/ext/mdbx_ext/mdbx_ext.h +36 -7
- data/ext/mdbx_ext/stats.c +39 -7
- data/lib/mdbx/database.rb +101 -43
- data/lib/mdbx.rb +8 -1
- data.tar.gz.sig +0 -0
- metadata +16 -2
- 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: 7a961296e49a7e0e0fee9afbe7d2b92144a23b6295d68c3fc10d2296d5421666
|
4
|
+
data.tar.gz: 29fd9c1997cb4a6bd6d1f7ce99ccb8cb38651ddc78e34a1a93eb21d55a552505
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d04ccf57c5cf613e930339c770acaa28c368eba2345e9b1255e0d2584f2271b9d166bdda8f55f2e27dc360315b00c41c4af7e59829f21611946fa2824975cc7
|
7
|
+
data.tar.gz: f6d39a0a124cd4bfbf189f439ae765c7aec0a99eb0bc7a8b2e4b7d29141faa99a294d50b4110e0d40ac13349b22b731b2df29f8b2b4a36eb199785c0dba22043
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.md
CHANGED
@@ -1,6 +1,73 @@
|
|
1
1
|
# Release History for MDBX
|
2
2
|
|
3
3
|
---
|
4
|
+
## v0.3.3 [2021-10-22] Mahlon E. Smith <mahlon@martini.nu>
|
5
|
+
|
6
|
+
Bugfixes:
|
7
|
+
|
8
|
+
- Close any open transactions if serialization functions fail.
|
9
|
+
- Don't use functions that assume NUL is the stream terminator.
|
10
|
+
|
11
|
+
|
12
|
+
Enhancements:
|
13
|
+
|
14
|
+
- Add Loggability for debug output.
|
15
|
+
|
16
|
+
|
17
|
+
---
|
18
|
+
## v0.3.2 [2021-07-13] Mahlon E. Smith <mahlon@martini.nu>
|
19
|
+
|
20
|
+
Bugfixes:
|
21
|
+
|
22
|
+
- Fix double memory allocation during initialization.
|
23
|
+
- Make various ruby->c string allocations safe with the garbage collector.
|
24
|
+
|
25
|
+
|
26
|
+
Minutiae:
|
27
|
+
|
28
|
+
- Raise exception if instantiating with invalid options.
|
29
|
+
|
30
|
+
|
31
|
+
---
|
32
|
+
## v0.3.1 [2021-05-16] Mahlon E. Smith <mahlon@martini.nu>
|
33
|
+
|
34
|
+
Bugfix:
|
35
|
+
|
36
|
+
- #drop could potentially remove unintended data. Yanked version
|
37
|
+
v0.3.0.
|
38
|
+
|
39
|
+
|
40
|
+
---
|
41
|
+
## v0.3.0 [2021-04-09] Mahlon E. Smith <mahlon@martini.nu>
|
42
|
+
|
43
|
+
Enhancements:
|
44
|
+
|
45
|
+
- Alter the behavior of #clear, so it doesn't destroy collection
|
46
|
+
environments, but just empties them.
|
47
|
+
|
48
|
+
- Add #drop, which explictly -does- destroy a collection environment.
|
49
|
+
|
50
|
+
- Switching to a collection now automatically creates its environment.
|
51
|
+
|
52
|
+
- Add include? and has_key?, for presence checks without allocating
|
53
|
+
value memory or requiring deserialization.
|
54
|
+
|
55
|
+
|
56
|
+
Bugfixes:
|
57
|
+
|
58
|
+
- Run all cursor methods through rb_protect, to ensure proper
|
59
|
+
cursor cleanup in the event of an exception mid iteration.
|
60
|
+
|
61
|
+
- Fix the block form of collections to support multiple scopes.
|
62
|
+
|
63
|
+
|
64
|
+
## v0.2.1 [2021-04-06] Mahlon E. Smith <mahlon@martini.nu>
|
65
|
+
|
66
|
+
Enhancement:
|
67
|
+
|
68
|
+
- Automatically stringify any argument to the collection() method.
|
69
|
+
|
70
|
+
|
4
71
|
## v0.2.0 [2021-03-19] Mahlon E. Smith <mahlon@martini.nu>
|
5
72
|
|
6
73
|
Enhancement:
|
data/README.md
CHANGED
@@ -340,13 +340,6 @@ information about the build environment, the database environment, and
|
|
340
340
|
the currently connected clients.
|
341
341
|
|
342
342
|
|
343
|
-
## TODO
|
344
|
-
|
345
|
-
- Expose more database/collection information to statistics
|
346
|
-
- Support libmdbx multiple values per key DUPSORT via `put`, `get`
|
347
|
-
Enumerators, and a 'value' argument for `delete`.
|
348
|
-
|
349
|
-
|
350
343
|
## Contributing
|
351
344
|
|
352
345
|
You can check out the current development source with Mercurial via its
|