Close DB properly

This commit is contained in:
Kamil
2020-12-04 01:22:53 +01:00
committed by Gent S
parent 889fc985c4
commit 3e855cbdac
3 changed files with 7 additions and 1 deletions

View File

@@ -49,6 +49,10 @@ void Database::open() {
std::cout << message << std::endl;
}
void Database::close() {
sqlite3_close(db);
}
void Database::createTables() {
char* errMsg = 0;