------------------------------------------------------------------------------
| 44 | |
| 45 | //------------------------------------------------------------------------------ |
| 46 | vtkMySQLDatabase::~vtkMySQLDatabase() |
| 47 | { |
| 48 | if (this->IsOpen()) |
| 49 | { |
| 50 | this->Close(); |
| 51 | } |
| 52 | this->SetDatabaseType(nullptr); |
| 53 | this->SetHostName(nullptr); |
| 54 | this->SetUser(nullptr); |
| 55 | this->SetDatabaseName(nullptr); |
| 56 | this->SetPassword(nullptr); |
| 57 | |
| 58 | this->Tables->UnRegister(this); |
| 59 | |
| 60 | delete this->Private; |
| 61 | } |
| 62 | |
| 63 | //------------------------------------------------------------------------------ |
| 64 | void vtkMySQLDatabase::PrintSelf(ostream& os, vtkIndent indent) |
nothing calls this directly
no test coverage detected