Mercurial > hg > orthanc-databases
diff Framework/MySQL/MySQLTransaction.h @ 23:b2ff1cd2907a
handling of implicit transactions in DatabaseManager
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 12 Jul 2018 10:44:17 +0200 |
parents | 7cea966b6829 |
children | 714c5d2bee76 |
line wrap: on
line diff
--- a/Framework/MySQL/MySQLTransaction.h Wed Jul 11 14:39:59 2018 +0200 +++ b/Framework/MySQL/MySQLTransaction.h Thu Jul 12 10:44:17 2018 +0200 @@ -42,6 +42,11 @@ virtual ~MySQLTransaction(); + virtual bool IsImplicit() const + { + return false; + } + virtual bool IsReadOnly() const { return readOnly_;