diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-26 03:56:37 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-26 03:56:37 +0200 |
commit | 534b2e407a80405c636b1ebd4486d01b9d3147bd (patch) | |
tree | 540fc589d148d8962b057b4914fbc59539251414 /lib/public | |
parent | b45ae1b32e41951a879bdbbdbbe0cb04dd86cda1 (diff) | |
parent | 6f6a5f6c2981cd046abc0530c4b6a222e67f17a7 (diff) | |
download | nextcloud-server-534b2e407a80405c636b1ebd4486d01b9d3147bd.tar.gz nextcloud-server-534b2e407a80405c636b1ebd4486d01b9d3147bd.zip |
Merge pull request #17662 from owncloud/locking-db
Database backend for locking
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/idbconnection.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/idbconnection.php b/lib/public/idbconnection.php index 0d04c43d73e..6a4373583fa 100644 --- a/lib/public/idbconnection.php +++ b/lib/public/idbconnection.php @@ -115,6 +115,14 @@ interface IDBConnection { public function beginTransaction(); /** + * Check if a transaction is active + * + * @return bool + * @since 8.2.0 + */ + public function inTransaction(); + + /** * Commit the database changes done during a transaction that is in progress * @since 6.0.0 */ |