Fossil

Check-in [71ed18cc4b]
Login

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

Overview
Comment:Do not attempt to verify phantoms. Set the default max message size at 500K instead of 1MB. Updates to the todo list.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 71ed18cc4b891c43cc0230e6cbc81f910144d622
User & Date: drh 2007-08-01 02:03:31.000
Context
2007-08-01
02:07
Updates to the todo list. check-in: 933875bbd1 user: drh tags: trunk
02:03
Do not attempt to verify phantoms. Set the default max message size at 500K instead of 1MB. Updates to the todo list. check-in: 71ed18cc4b user: drh tags: trunk
01:24
Added the vdiff webpage with links from vinfo. check-in: 9df32e2808 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/content.c.
309
310
311
312
313
314
315

316
317
318
319
320
321
322
323
324
325
326
327
    db_bind_blob(&s1, ":data", &delta);
    db_begin_transaction();
    db_exec(&s1);
    db_exec(&s2);
    db_end_transaction(0);
    db_finalize(&s1);
    db_finalize(&s2);

  }
  blob_reset(&src);
  blob_reset(&data);
  blob_reset(&delta);
  verify_before_commit(rid);
}

/*
** COMMAND:  test-content-deltify
**
** Convert the content at RID into a delta from SRCID.
*/







>




<







309
310
311
312
313
314
315
316
317
318
319
320

321
322
323
324
325
326
327
    db_bind_blob(&s1, ":data", &delta);
    db_begin_transaction();
    db_exec(&s1);
    db_exec(&s2);
    db_end_transaction(0);
    db_finalize(&s1);
    db_finalize(&s2);
    verify_before_commit(rid);
  }
  blob_reset(&src);
  blob_reset(&data);
  blob_reset(&delta);

}

/*
** COMMAND:  test-content-deltify
**
** Convert the content at RID into a delta from SRCID.
*/
Changes to src/xfer.c.
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/*
** Send all pending files.
*/
static int send_all_pending(Blob *pOut){
  int iRidSent = 0;
  int sent = 0;
  int nSent = 0;
  int maxSize = db_get_int("http-msg-size", 1000000);
  Stmt q;
#if 0
  db_multi_exec(
    "CREATE TEMP TABLE priority(rid INTEGER PRIMARY KEY);"
    "INSERT INTO priority"
    " SELECT srcid FROM delta"
    "  WHERE EXISTS(SELECT 1 FROM onremote WHERE onremote.rid=delta.rid)"







|







130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/*
** Send all pending files.
*/
static int send_all_pending(Blob *pOut){
  int iRidSent = 0;
  int sent = 0;
  int nSent = 0;
  int maxSize = db_get_int("http-msg-size", 500000);
  Stmt q;
#if 0
  db_multi_exec(
    "CREATE TEMP TABLE priority(rid INTEGER PRIMARY KEY);"
    "INSERT INTO priority"
    " SELECT srcid FROM delta"
    "  WHERE EXISTS(SELECT 1 FROM onremote WHERE onremote.rid=delta.rid)"
Changes to todo.txt.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Things to work on:

 *  Bug: The timeline is visible in sqlitert even though anonymous
    access is turned off.  The timeline menu item should be omitted
    and the timeline page should be disallowed if the user does not
    have the right access permissions.  Feel free to add new access
    permissions (view timeline permission?) if this seems like something
    appropriate to do.

 *  Use the wiki_convert() routine to render comments and other text
    on web pages.

 *  If the server does not have write permission on the database
    file, or on the directory containing the database file (and 
    it is thus unable to update database because it cannot create
    a rollback journal) then it currently fails silently on a push.


<
<
<
<
<
<
<







1
2







3
4
5
6
7
8
9
Things to work on:








 *  Use the wiki_convert() routine to render comments and other text
    on web pages.

 *  If the server does not have write permission on the database
    file, or on the directory containing the database file (and 
    it is thus unable to update database because it cannot create
    a rollback journal) then it currently fails silently on a push.