We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b76c83 commit 84619ccCopy full SHA for 84619cc
resources/tarantool/jepsen.lua
@@ -46,7 +46,7 @@ box.schema.func.create('_CAS',
46
body = [[function(id, old_value, new_value, table)
47
local rc = false
48
box.begin()
49
- tuple = box.space[table]:get{id}
+ local tuple = box.space[table]:get{id}
50
if tuple then
51
if tuple[2] == old_value then
52
box.space[table]:update({id}, {{'=', 2, new_value}})
@@ -88,7 +88,7 @@ box.schema.func.create('_READ',
88
returns = 'integer',
89
body = [[function (id, table)
90
91
92
93
return tuple[2]
94
end
0 commit comments