Fossil

Check-in [7935571b]
Login

Check-in [7935571b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Minor formatting change to the test-delta-analyze command.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7935571bea1debaf8771e9e3757d8cc68a5d0d2e
User & Date: drh 2016-02-17 22:10:58.167
Context
2016-02-26
02:54
Add -e as a short option for --edit-comment in the amend command. ... (Closed-Leaf check-in: 769bc7b4 user: rberteig tags: pending-review)
2016-02-18
10:13
Minor correction to the P-card docs. ... (check-in: 576d64c9 user: stephan tags: trunk)
2016-02-17
22:10
Minor formatting change to the test-delta-analyze command. ... (check-in: 7935571b user: drh tags: trunk)
2016-02-15
17:43
Update SQLite to version 3.11.0 final. ... (check-in: 7ad82302 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/deltacmd.c.
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
  sz1 = blob_size(&orig);
  sz2 = blob_size(&target);
  sz3 = blob_size(&delta);
  blob_reset(&orig);
  blob_reset(&target);
  blob_reset(&delta);
  fossil_print("original size:  %8d\n", sz1);
  fossil_print("bytes copied:   %8d (%.1f%% of target)\n",
               nCopy, (100.0*nCopy)/sz2);
  fossil_print("bytes inserted: %8d (%.1f%% of target)\n",
               nInsert, (100.0*nInsert)/sz2);
  fossil_print("final size:     %8d\n", sz2);
  fossil_print("delta size:     %8d\n", sz3);
}

/*
** Apply the delta in pDelta to the original file pOriginal to generate







|

|







97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
  sz1 = blob_size(&orig);
  sz2 = blob_size(&target);
  sz3 = blob_size(&delta);
  blob_reset(&orig);
  blob_reset(&target);
  blob_reset(&delta);
  fossil_print("original size:  %8d\n", sz1);
  fossil_print("bytes copied:   %8d (%.2f%% of target)\n",
               nCopy, (100.0*nCopy)/sz2);
  fossil_print("bytes inserted: %8d (%.2f%% of target)\n",
               nInsert, (100.0*nInsert)/sz2);
  fossil_print("final size:     %8d\n", sz2);
  fossil_print("delta size:     %8d\n", sz3);
}

/*
** Apply the delta in pDelta to the original file pOriginal to generate