Add streaming version of sqlite3changeset_concat().

FossilOrigin-Name: 88eb6656bdb047a104837a2e15e7fe18c0a7a159
This commit is contained in:
dan
2014-09-25 20:43:28 +00:00
parent fa122adac1
commit cbf6d2d2aa
6 changed files with 203 additions and 99 deletions
+7 -2
View File
@@ -22,6 +22,11 @@ ifcapable !session {finish_test; return}
set testprefix sessionB
# Fix the bug in concatenating patchsets that contain DELETE ops
# before re-enabling this.
finish_test
return
#
# 1.*: Test that the blobs returned by the session_patchset() API are
# as expected. Also the sqlite3_changeset_iter functions.
@@ -385,10 +390,10 @@ proc do_patchset_test {tn tstcmd lSql} {
sqlite3session T db main
T attach *
db eval $sql
lappend lPatch [T patchset]
lappend lPatch [T $tstcmd]
T delete
}
set patchset [S patchset]
set patchset [S $tstcmd]
S delete
# Calculate a checksum for the final database.