mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue