Skip to content
Permalink
Browse files
work around weird 32-bit bug
  • Loading branch information
quinnj committed Oct 3, 2020
1 parent ca63955 commit a36c717e312c0ec18751ec839cb4c28abdc639ba
Showing 1 changed file with 4 additions and 1 deletion.
@@ -413,7 +413,10 @@ function makenodesbuffers!(::Type{T}, col, fieldnodes, fieldbuffers, bufferoffse
push!(fieldbuffers, Buffer(bufferoffset, blen))
bufferoffset += padding(blen)
if T <: AbstractString || T <: AbstractVector{UInt8}
blen = datasizeof(col)
blen = 0
for x in col
blen += sizeof(x)
end
push!(fieldbuffers, Buffer(bufferoffset, blen))
bufferoffset += padding(blen)
else

0 comments on commit a36c717

Please sign in to comment.