inmemory_kv 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/inmemory_kv.c +1 -1
- data/lib/inmemory_kv/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42619c6541488e10ccb127fddf97a752ce2cff46
|
4
|
+
data.tar.gz: 83f4e1fa740d3cc0d939dc08acf6ef86629eb5be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 546486f550f040163bc2c15eb17b3f7cc9705c8fe03d952828387d454fec94d4645e33239c3bb9f1ac5d65f5f200e2c0d13bd2e2465531e81e242fdad5f86095
|
7
|
+
data.tar.gz: 16b176ab37ee278f2baed24c3f06281d8f20bc875e298f955a21933813937c67079c167f7bfb03dfb26cd66e0a2491e96431a7f0a771a88c640dec3aac44de21
|
data/ext/inmemory_kv.c
CHANGED
@@ -76,7 +76,7 @@ item_set_sizes(hash_item* item, u32 key_size, u32 val_size) {
|
|
76
76
|
|
77
77
|
static inline void
|
78
78
|
item_set_val_size(hash_item* item, u32 val_size) {
|
79
|
-
assert(
|
79
|
+
assert(val_size <= 255 || item->big == 1);
|
80
80
|
if (item->big) {
|
81
81
|
item->kind.big.val_size = val_size;
|
82
82
|
} else {
|
data/lib/inmemory_kv/version.rb
CHANGED