Allow adding sellers during sale phase
This commit is contained in:
parent
43faf05006
commit
fe7ddc5cf2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue