merge sync IOS-1484
authorbuff <andreas@pep-project.org>
Wed, 19 Jun 2019 21:09:34 +0200
branchIOS-1484
changeset 38609e41a9438fcc
parent 3859 85f4f25490dd
parent 3856 8a23d954fd74
child 3861 f599ed411c78
child 3862 2d124972f0b9
merge sync
     1.1 --- a/src/pgp_sequoia.c	Wed Jun 19 15:08:56 2019 +0200
     1.2 +++ b/src/pgp_sequoia.c	Wed Jun 19 21:09:34 2019 +0200
     1.3 @@ -1968,6 +1968,17 @@
     1.4          break;
     1.5      }
     1.6  
     1.7 +    int int_result = sqlite3_exec(
     1.8 +        session->key_db,
     1.9 +        "PRAGMA wal_checkpoint(FULL);\n"
    1.10 +        ,
    1.11 +        NULL,
    1.12 +        NULL,
    1.13 +        NULL
    1.14 +    );
    1.15 +    if (int_result != SQLITE_OK)
    1.16 +        status = PEP_UNKNOWN_DB_ERROR;
    1.17 +
    1.18   out:
    1.19      pgp_tpk_parser_free(parser);
    1.20  
     2.1 --- a/sync/cond_act_sync.yml2	Wed Jun 19 15:08:56 2019 +0200
     2.2 +++ b/sync/cond_act_sync.yml2	Wed Jun 19 21:09:34 2019 +0200
     2.3 @@ -535,4 +535,3 @@
     2.4  ||
     2.5  
     2.6  action disable;
     2.7 -