Skip to content

Commit 22c1e8f

Browse files
committed
fix conn._replace
1 parent f62b1d9 commit 22c1e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tarantool16/db.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _replace(sno, tuple, need_hash, cb)
140140
_with_space(sno, cb) do |sp|
141141
_tuple = tuple.is_a?(Hash) ? sp.map_tuple(tuple) : tuple
142142
_cb = need_hash ? sp.wrap_cb(cb) : cb
143-
conn.insert(sp.sid, _tuple, _cb)
143+
conn._replace(sp.sid, _tuple, _cb)
144144
end
145145
end
146146

0 commit comments

Comments
 (0)