MCPcopy Create free account
hub / github.com/Kitware/VTK / Close

Method Close

IO/MySQL/vtkMySQLDatabase.cxx:157–168  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

155
156//------------------------------------------------------------------------------
157void 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//------------------------------------------------------------------------------
171bool vtkMySQLDatabase::IsOpen()

Callers 3

~vtkMySQLDatabaseMethod · 0.95
CreateDatabaseMethod · 0.95
DropDatabaseMethod · 0.95

Calls 1

IsOpenMethod · 0.95

Tested by

no test coverage detected