Skip to content

Commit

Permalink
fix conn._replace
Browse files Browse the repository at this point in the history
  • Loading branch information
funny-falcon committed Aug 5, 2015
1 parent f62b1d9 commit 22c1e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tarantool16/db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def _replace(sno, tuple, need_hash, cb)
_with_space(sno, cb) do |sp|
_tuple = tuple.is_a?(Hash) ? sp.map_tuple(tuple) : tuple
_cb = need_hash ? sp.wrap_cb(cb) : cb
conn.insert(sp.sid, _tuple, _cb)
conn._replace(sp.sid, _tuple, _cb)
end
end

Expand Down

0 comments on commit 22c1e8f

Please sign in to comment.