Mercurial > hg > orthanc-databases
comparison Framework/Common/DatabaseManager.h @ 308:6a668f5d1069
added warning comment
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 12 Jul 2021 17:22:53 +0200 |
parents | 8de3a1ecac11 |
children | 16aac0287485 |
comparison
equal
deleted
inserted
replaced
307:8de3a1ecac11 | 308:6a668f5d1069 |
---|---|
191 IResult::Print(stream, GetResult()); | 191 IResult::Print(stream, GetResult()); |
192 } | 192 } |
193 }; | 193 }; |
194 | 194 |
195 | 195 |
196 /** | |
197 * WARNING: At any given time, there must be at most 1 object of | |
198 * the "CachedStatement" class in the scope, otherwise error | |
199 * "Cannot execute more than one statement in an implicit | |
200 * transaction" is generated if no explicit transaction is | |
201 * present. | |
202 **/ | |
196 class CachedStatement : public StatementBase | 203 class CachedStatement : public StatementBase |
197 { | 204 { |
198 private: | 205 private: |
199 StatementLocation location_; | 206 StatementLocation location_; |
200 IPrecompiledStatement* statement_; | 207 IPrecompiledStatement* statement_; |