- Timestamp:
- 06/22/11 21:12:32 (12 years ago)
- Branches:
- master, qt5
- Children:
- 865aab6
- Parents:
- 51529bd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sql/sqlengine.cpp
r51529bd rf657e9c 117 117 query.bindValue(":day_change", -QTime::fromString(aConference["timeslot_duration"],TIME_FORMAT).secsTo(QTime(0,0))); 118 118 query.bindValue(":active", confsList.count() > 0 ? 0 : 1); 119 query.exec();119 if (!query.exec()) qDebug() << "Could not execute query to insert a conference:" << query.lastError(); 120 120 aConference["id"] = query.lastInsertId().toString(); // 'id' is assigned automatically 121 121 }
Note: See TracChangeset
for help on using the changeset viewer.