mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
unwrap args
This commit is contained in:
parent
c6b6517145
commit
dc26498948
1 changed files with 1 additions and 2 deletions
|
@ -80,8 +80,7 @@ module DB
|
|||
class SavePointTransaction < Transaction
|
||||
getter connection : Connection
|
||||
|
||||
def initialize(@parent : Transaction,
|
||||
@savepoint_name : String)
|
||||
def initialize(@parent : Transaction, @savepoint_name : String)
|
||||
@nested_transaction = false
|
||||
@connection = @parent.connection
|
||||
@connection.perform_create_savepoint(@savepoint_name)
|
||||
|
|
Loading…
Reference in a new issue