Changeset 0c71a07
- Timestamp:
- 09/27/17 21:36:00 (5 years ago)
- Branches:
- master
- Children:
- c19618d
- Parents:
- d03ca41
- git-author:
- Philipp Spitzer <philipp@…> (09/27/17 21:32:19)
- git-committer:
- Philipp Spitzer <philipp@…> (09/27/17 21:36:00)
- Location:
- src/sql
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sql/sqlengine.cpp
rd03ca41 r0c71a07 398 398 399 399 400 bool SqlEngine::rollbackTransaction() { 401 QSqlQuery query(db); 402 bool success = query.exec("ROLLBACK"); 403 emitSqlQueryError(query); 404 return success; 405 } 406 407 400 408 bool SqlEngine::deleteConference(int id) { 401 409 QSqlQuery query(db); … … 432 440 emit dbError(error.text()); 433 441 } 434 -
src/sql/sqlengine.h
rd03ca41 r0c71a07 69 69 bool beginTransaction(); 70 70 bool commitTransaction(); 71 bool rollbackTransaction(); 71 72 72 73 /// search Events for .... returns true if success
Note: See TracChangeset
for help on using the changeset viewer.