------------------------------------------------------------------------------
| 119 | |
| 120 | //------------------------------------------------------------------------------ |
| 121 | int vtkSQLDatabaseSchema::AddTable(const char* tblName) |
| 122 | { |
| 123 | if (!tblName) |
| 124 | { |
| 125 | vtkErrorMacro("Cannot add table with empty name"); |
| 126 | return -1; |
| 127 | } |
| 128 | |
| 129 | vtkSQLDatabaseSchemaInternals::Table newTbl; |
| 130 | int tblHandle = static_cast<int>(this->Internals->Tables.size()); |
| 131 | newTbl.Name = tblName; |
| 132 | this->Internals->Tables.push_back(newTbl); |
| 133 | return tblHandle; |
| 134 | } |
| 135 | |
| 136 | //------------------------------------------------------------------------------ |
| 137 | int vtkSQLDatabaseSchema::AddColumnToIndex(int tblHandle, int idxHandle, int colHandle) |
no test coverage detected