Mercurial > hg > orthanc-databases
diff Framework/SQLite/SQLiteTransaction.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/SQLite/SQLiteTransaction.h Wed Jul 11 14:39:59 2018 +0200 +++ b/Framework/SQLite/SQLiteTransaction.h Thu Jul 12 10:44:17 2018 +0200 @@ -41,6 +41,11 @@ public: SQLiteTransaction(SQLiteDatabase& database); + virtual bool IsImplicit() const + { + return false; + } + virtual bool IsReadOnly() const { return readOnly_;