redcord 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redcord/server_scripts/find_by_attr.erb.lua +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0c8f566eb89b44bd73c4a444deb313af1004a342a703a0e9f504364aa96df40
|
4
|
+
data.tar.gz: e77507ef1ebb3a1d2a6ba9f0fc654d25355f5bc685b05e4bc07368957bdc7ec3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27d9afec9f1a663516b65096439312bdc313aed672c6476bcf38d0ce98cd9178bebf3b5a46341d69ad6fc6f3f4268655956c6e5170af2f7da8489d68e343dee5
|
7
|
+
data.tar.gz: 1b011be75251942091acc209189f33d72ff289496a07f5700c140a06916f83ad310e1e804fc3bd60d77815f89b57fd6a66b9efe2d7fabd81d32dfca7f281b7d6
|
@@ -46,10 +46,11 @@ local attr_selection_pos = query_cond_pos + ARGV[6]
|
|
46
46
|
|
47
47
|
-- Get all ids which have the corresponding attribute values.
|
48
48
|
local ids_set = nil
|
49
|
+
local index_sets, range_index_sets = {}, {}
|
49
50
|
|
50
51
|
-- If custom index name is empty -> use single-attribute indices
|
51
52
|
if index_name == '' then
|
52
|
-
|
53
|
+
index_sets, range_index_sets = unpack(validate_and_parse_query_conditions(
|
53
54
|
KEYS[1],
|
54
55
|
model,
|
55
56
|
to_set({unpack(ARGV, index_attr_pos, range_attr_pos - 1)}),
|