sync/sql_func.yml2
branchsync
changeset 3102 50a03176b73f
parent 3060 910548a84da0
child 3739 523fb9710660
     1.1 --- a/sync/sql_func.yml2	Wed Oct 24 15:25:21 2018 +0200
     1.2 +++ b/sync/sql_func.yml2	Wed Oct 24 16:31:16 2018 +0200
     1.3 @@ -12,7 +12,11 @@
     1.4      param "sql";
     1.5      ||
     1.6          sqlite3_stmt *_sql;
     1.7 -        int int_result = sqlite3_prepare_v2(session->db, `copy '$sql'`, -1, &_sql, NULL);
     1.8 +        int int_result = sqlite3_prepare_v2(session->db,
     1.9 +    ||
    1.10 +    indent(2); copy '$sql';
    1.11 +    ||
    1.12 +            , -1, &_sql, NULL);
    1.13          assert(int_result == SQLITE_OK);
    1.14          if (!(int_result == SQLITE_OK))
    1.15              return PEP_UNKNOWN_ERROR;