Greg Stein <gst...@gmail.com> writes:

>> +    SVN_ERR(svn_sqlite__open(&dst_db, dst_path, svn_sqlite__mode_rwcreate,
>> +                             NULL, 0, NULL, scratch_pool, scratch_pool));
>> +    backup = sqlite3_backup_init(dst_db->db3, "main", src_db->db3, "main");
>> +    if (!backup)
>> +      return SVN_NO_ERROR;
>
> Shouldn't the databases be closed? If not, then why not? (ie. add a comment)

Oops!  I should be returning an error as well.  That was supposed to
be temporary to try it out.

-- 
Philip

Reply via email to