updated build system

This commit is contained in:
2024-10-10 12:52:51 -05:00
parent 7a683a46a9
commit 6645b322bd
3 changed files with 54 additions and 15 deletions

View File

@ -44,7 +44,9 @@ auto execute_sql(sqlite3 &db3, const std::string &sql,
}
void set_journal_mode(sqlite3 &db3) {
sqlite3_exec(&db3, "PRAGMA journal_mode = WAL;PRAGMA synchronous = NORMAL;",
sqlite3_exec(&db3,
"PRAGMA journal_mode = WAL;PRAGMA synchronous = NORMAL;PRAGMA "
"auto_vacuum = FULL;",
nullptr, nullptr, nullptr);
}
} // namespace repertory::utils::db::sqlite