Does MariaDB support nested transactions (not savepoints)?
I want to be able to use nested transactions in stored procedures. Currently in MySQL I am passing a parameter, "useTransaction" to each stored procedure, which controls if I start a new transaction in the body of that stored procedure.
It would more more convenient if transactions could be nested like this.
Nope. But MariaDB has @@in_transaction, which tells you if a transaction is already in progress.
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加