Mercurial > hg > orthanc-databases
comparison Framework/MySQL/MySQLParameters.cpp @ 186:6fe74f9a516e
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Dec 2020 15:05:19 +0100 |
parents | 4d32c9c8d6c0 |
children | 3236894320d6 |
comparison
equal
deleted
inserted
replaced
185:7c46155b5bb4 | 186:6fe74f9a516e |
---|---|
44 | 44 |
45 lock_ = true; | 45 lock_ = true; |
46 } | 46 } |
47 | 47 |
48 | 48 |
49 MySQLParameters::MySQLParameters() | 49 MySQLParameters::MySQLParameters() : |
50 ssl_(false), | |
51 verifySslServerCertificates_(true), | |
52 maxConnectionRetries_(10), | |
53 connectionRetryInterval_(5) | |
50 { | 54 { |
51 Reset(); | 55 Reset(); |
52 } | 56 } |
53 | 57 |
54 | 58 |
55 MySQLParameters::MySQLParameters(const OrthancPlugins::OrthancConfiguration& pluginConfiguration, const OrthancPlugins::OrthancConfiguration& orthancConfiguration) | 59 MySQLParameters::MySQLParameters(const OrthancPlugins::OrthancConfiguration& pluginConfiguration, |
60 const OrthancPlugins::OrthancConfiguration& orthancConfiguration) | |
56 { | 61 { |
57 Reset(); | 62 Reset(); |
58 | 63 |
59 std::string s; | 64 std::string s; |
60 if (pluginConfiguration.LookupStringValue(s, "Host")) | 65 if (pluginConfiguration.LookupStringValue(s, "Host")) |