bug in sqlite3: true works on command line but not with sqlite3_prepare_v2() sync
authorVolker Birk <vb@pep.foundation>
Tue, 16 Oct 2018 01:25:35 +0200
branchsync
changeset 30618fae5ba604f7
parent 3060 910548a84da0
child 3062 4ab13f23726f
bug in sqlite3: true works on command line but not with sqlite3_prepare_v2()
sync/cond_act_sync.yml2
     1.1 --- a/sync/cond_act_sync.yml2	Tue Oct 16 01:09:14 2018 +0200
     1.2 +++ b/sync/cond_act_sync.yml2	Tue Oct 16 01:25:35 2018 +0200
     1.3 @@ -14,7 +14,7 @@
     1.4  
     1.5  condition deviceGrouped {
     1.6      call "exec_sql_int" with "sql"
     1.7 -        > "select count(*) from identity where is_own = true and (flags & 4) = 4;"
     1.8 +        > "select count(*) from identity where is_own = 1 and (flags & 4) = 4;"
     1.9      |> *result = _result > 0;
    1.10  }
    1.11