add connection.object_id to savepoint names.
s/crystal/cr/ to shorten a bit the name.
This commit is contained in:
parent
882253bf4a
commit
c6b6517145
|
@ -59,7 +59,7 @@ module DB
|
|||
previous_savepoint.succ
|
||||
else
|
||||
# random prefix to avoid determinism
|
||||
"crystal_#{Random.rand(10_000)}_00001"
|
||||
"cr_#{@connection.object_id}_#{Random.rand(10_000)}_00001"
|
||||
end
|
||||
|
||||
@savepoint_name = savepoint_name
|
||||
|
|
Loading…
Reference in New Issue