Mercurial > hg > orthanc-databases
comparison 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 |
comparison
equal
deleted
inserted
replaced
22:1e9bad493475 | 23:b2ff1cd2907a |
---|---|
39 bool readOnly_; | 39 bool readOnly_; |
40 | 40 |
41 public: | 41 public: |
42 SQLiteTransaction(SQLiteDatabase& database); | 42 SQLiteTransaction(SQLiteDatabase& database); |
43 | 43 |
44 virtual bool IsImplicit() const | |
45 { | |
46 return false; | |
47 } | |
48 | |
44 virtual bool IsReadOnly() const | 49 virtual bool IsReadOnly() const |
45 { | 50 { |
46 return readOnly_; | 51 return readOnly_; |
47 } | 52 } |
48 | 53 |