Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a bug in the cluster creater. The bug prevents clusters from being created correctly when there are phantom artifacts. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
72959c415eded017568be2cd0dced392 |
| User & Date: | drh 2008-11-19 22:44:23.000 |
Context
|
2008-11-19
| ||
| 23:33 | Make sure the socket of the "ui" and "server" commands is bound to the specified port when the -P or --port option is used. Ticket [7ef970e4a2] check-in: 53db94cd41 user: drh tags: trunk | |
| 22:44 | Fix a bug in the cluster creater. The bug prevents clusters from being created correctly when there are phantom artifacts. check-in: 72959c415e user: drh tags: trunk | |
| 16:55 | Merge src & doc leaves back. check-in: d14adf1032 user: kejoki tags: trunk | |
Changes
Changes to src/xfer.c.
| ︙ | ︙ | |||
428 429 430 431 432 433 434 |
" WHERE rid=unclustered.rid)");
if( nUncl<100 ){
return;
}
blob_zero(&cluster);
db_prepare(&q, "SELECT uuid FROM unclustered, blob"
" WHERE NOT EXISTS(SELECT 1 FROM phantom"
| | | 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 |
" WHERE rid=unclustered.rid)");
if( nUncl<100 ){
return;
}
blob_zero(&cluster);
db_prepare(&q, "SELECT uuid FROM unclustered, blob"
" WHERE NOT EXISTS(SELECT 1 FROM phantom"
" WHERE rid=unclustered.rid)"
" AND unclustered.rid=blob.rid"
" AND NOT EXISTS(SELECT 1 FROM shun WHERE uuid=blob.uuid)"
" ORDER BY 1");
while( db_step(&q)==SQLITE_ROW ){
blob_appendf(&cluster, "M %s\n", db_column_text(&q, 0));
}
db_finalize(&q);
|
| ︙ | ︙ |