Differences From Artifact [dc10588abf]:
- File src/xfer.c — part of check-in [869534e182] at 2007-08-09 03:44:31 on branch trunk — Fix a bug in the xfer server that prevents it from receiving deltas. (user: drh size: 21784)
To Artifact [04b08e89d9]:
- File src/xfer.c — part of check-in [4c072728b4] at 2007-08-09 03:47:28 on branch trunk — Add a quick hack that disables delta compression on xfer. This gives people a chance to synchronize the previous fix. We will eventually remove the hack. (user: drh size: 21795)
| ︙ | |||
34 35 36 37 38 39 40 41 42 43 44 45 46 47 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | + + |
** Return the integer record ID of the similar record. Or return
** 0 if none is found.
*/
static int similar_record(int rid, int traceFlag){
int inCnt, outCnt;
Stmt q;
int queue[100];
return 0;
db_prepare(&q,
"SELECT srcid, EXISTS(SELECT 1 FROM onremote WHERE rid=srcid)"
" FROM delta"
" WHERE rid=:x"
" UNION ALL "
"SELECT rid, EXISTS(SELECT 1 FROM onremote WHERE rid=delta.rid)"
|
| ︙ |