Revision 40cf6a8c
Von Sebastian Diel vor mehr als 5 Jahren hinzugefügt
- ID 40cf6a8c712767178893a61ab44f3db3d2c9c5ef
- Vorgänger 48379924
src/database.cpp | ||
---|---|---|
}
|
||
|
||
void Database::init() {
|
||
// qDebug()<<"db init pre: "<< this->database;
|
||
this->database.open();
|
||
// qDebug()<<"db init post: "<< this->database;
|
||
this->supportTransactions = this->database.driver()->hasFeature(
|
||
QSqlDriver::Transactions);
|
||
}
|
||
... | ... | |
if (this->logger && this->logErrors) {
|
||
this->logger->lastError(query, this->logQueries);
|
||
} else {
|
||
qDebug() << query.executedQuery();
|
||
// qDebug() << query.executedQuery();
|
||
}
|
||
}
|
||
|
Auch abrufbar als: Unified diff
debugging heritage