Reverting something from ENGINE-583 - WAL checkpoint may be causing an issue, and it's not there for the right reasons anyway. 2.0.5_p4a_log_test
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Thu, 18 Jun 2020 19:46:26 +0200
branch2.0.5_p4a_log_test
changeset 475114886c314616
parent 4750 39b0b5829e14
Reverting something from ENGINE-583 - WAL checkpoint may be causing an issue, and it's not there for the right reasons anyway.
src/pgp_sequoia.c
     1.1 --- a/src/pgp_sequoia.c	Thu Jun 18 13:36:25 2020 +0200
     1.2 +++ b/src/pgp_sequoia.c	Thu Jun 18 19:46:26 2020 +0200
     1.3 @@ -960,7 +960,7 @@
     1.4                        sqlite3_errmsg(session->key_db));
     1.5          T("cert_save - %s transaction for saving %s", 
     1.6             (status == PEP_STATUS_OK ? "committed" : "rolled back"), 
     1.7 -           fpr);                              
     1.8 +           fpr);                                
     1.9      }
    1.10  
    1.11      T("(%s) -> %s", fpr, pEp_status_to_string(status));
    1.12 @@ -2383,17 +2383,6 @@
    1.13          break;
    1.14      }
    1.15  
    1.16 -    int int_result = sqlite3_exec(
    1.17 -        session->key_db,
    1.18 -        "PRAGMA wal_checkpoint(FULL);\n"
    1.19 -        ,
    1.20 -        NULL,
    1.21 -        NULL,
    1.22 -        NULL
    1.23 -    );
    1.24 -    if (int_result != SQLITE_OK)
    1.25 -        status = PEP_UNKNOWN_DB_ERROR;
    1.26 -
    1.27   out:
    1.28      pgp_cert_parser_free(parser);
    1.29