Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: RD WebDesign <[email protected]>
Signed-off-by: Dominik <[email protected]>
  • Loading branch information
DL6ER and rdwebdesign authored Jan 30, 2024
1 parent 3dff856 commit a720330
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ void initConfig(struct config *conf)
// Note: We would not necessarily need to restart FTL when this setting
// is changed, but we do it anyway as this ensures the database is
// properly re-initialized and the new journal mode is used. As this is
// a setting that will be changed very rarely, this semms the better
// a setting that will be changed very rarely, this seems the better
// compromise than adding special code that can transform the database
// while being active.
// The in-memory database is not affected by this setting as it uses a
Expand Down
2 changes: 1 addition & 1 deletion src/database/query-table.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ bool init_memory_database(void)
// - WAL provides more concurrency as readers do not block writers and a
// writer does not block readers. Reading and writing can proceed
// concurrently.
// - Disk I/O operations tends to be more sequential using WAL.
// - Disk I/O operations tend to be more sequential using WAL.
rc = sqlite3_exec(_memdb, "PRAGMA disk.journal_mode=WAL", NULL, NULL, NULL);
if( rc != SQLITE_OK )
{
Expand Down

0 comments on commit a720330

Please sign in to comment.