Mercurial > hg > orthanc-databases
comparison Framework/PostgreSQL/PostgreSQLResult.cpp @ 46:6a574d810b98
Compatibility with MySQL 8.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 18 Jul 2018 12:27:40 +0200 |
parents | 9774802fd05f |
children | 318c1ccb787c |
comparison
equal
deleted
inserted
replaced
44:95f0f57f8920 | 46:6a574d810b98 |
---|---|
103 columnsCount_ = 0; | 103 columnsCount_ = 0; |
104 } | 104 } |
105 } | 105 } |
106 | 106 |
107 | 107 |
108 PostgreSQLResult::~PostgreSQLResult() | |
109 { | |
110 try | |
111 { | |
112 Clear(); | |
113 } | |
114 catch (Orthanc::OrthancException&) | |
115 { | |
116 // Ignore possible exceptions due to connection loss | |
117 } | |
118 } | |
119 | |
120 | |
108 void PostgreSQLResult::Next() | 121 void PostgreSQLResult::Next() |
109 { | 122 { |
110 position_++; | 123 position_++; |
111 CheckDone(); | 124 CheckDone(); |
112 } | 125 } |