Skip to content

Commit f6bfca7

Browse files
WIP
1 parent b3c27b3 commit f6bfca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vshard/hash.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ end
3939
-- double.
4040
--
4141
local function mpcrc32(shard_key)
42-
if type(shard_key) ~= 'table' then
42+
if type(shard_key) ~= 'table' and not box.tuple.is(shard_key) then
4343
return ldigest.crc32(mpcrc32_one(shard_key))
4444
else
4545
local crc32 = ldigest.crc32.new()

0 commit comments

Comments
 (0)