------------------------------------------------------------------------------
| 155 | |
| 156 | //------------------------------------------------------------------------------ |
| 157 | void vtkMySQLDatabase::Close() |
| 158 | { |
| 159 | if (!this->IsOpen()) |
| 160 | { |
| 161 | return; // not an error |
| 162 | } |
| 163 | else |
| 164 | { |
| 165 | mysql_close(this->Private->Connection); |
| 166 | this->Private->Connection = nullptr; |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | //------------------------------------------------------------------------------ |
| 171 | bool vtkMySQLDatabase::IsOpen() |
no test coverage detected