Use strinc correctly in ruby directory layer

This commit is contained in:
A.J. Beamon 2018-03-27 08:36:25 -07:00
parent 00f1fec488
commit 3bdbb83ed9
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ module FDB
prefix &&
prefix.length > 0 &&
!node_containing_key(tr, prefix) &&
tr.get_range(@node_subspace.pack([prefix]), @node_subspace.pack([tr.send(:strinc, prefix)]),
tr.get_range(@node_subspace.pack([prefix]), @node_subspace.pack([FDB.strinc(prefix)]),
{ :limit => 1 }).to_a.empty?
end