Allow adding sellers during sale phase

This commit is contained in:
Martin Brodbeck 2018-10-01 12:05:21 +02:00
parent 43faf05006
commit fe7ddc5cf2

View file

@ -252,7 +252,7 @@ unsigned int Database::storeSellers(std::vector<std::unique_ptr<Seller>>& seller
rollbackTransaction(); rollbackTransaction();
std::string errMsg(sqlite3_errmsg(db_)); std::string errMsg(sqlite3_errmsg(db_));
sqlite3_finalize(stmt); sqlite3_finalize(stmt);
sqlite3_ throw std::runtime_error(errMsg); throw std::runtime_error(errMsg);
} }
++count; ++count;
sqlite3_finalize(stmt); sqlite3_finalize(stmt);