Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0d155b40

Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt

  • ID 0d155b404741a18784cbc850f45bd49908f2e990
  • Vorgänger 058a5170
  • Nachfolger 409ca288

bugfix in schema and ticket #580

Unterschiede anzeigen:

src/schema.cpp
}
bool Schema::containsTable(QString tblname) {
if (this->tables.size() !=
this->database->getDatabase().tables().size()) {
if (this->tables.size() != this->getTableNames().size()) {
this->setTables(this->getTableSchemas());
}
return this->database->getDatabase().tables().contains(tblname);
......
}
QHash<QString, QSharedPointer<TableSchema> > Schema::getTables() const {
QHash<QString, QSharedPointer<TableSchema> > Schema::getTables() {
if (this->tables.size() != this->getTableNames().size()) {
this->setTables(this->getTableSchemas());
}
return this->tables;
}

Auch abrufbar als: Unified diff