Fossil SCM
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.
Commit
4c072728b4f19edacc251bd4587ae57f3450b6e5
Parent
869534e1823475c…
1 file changed
+2
+2
| --- src/xfer.c | ||
| +++ src/xfer.c | ||
| @@ -36,10 +36,12 @@ | ||
| 36 | 36 | */ |
| 37 | 37 | static int similar_record(int rid, int traceFlag){ |
| 38 | 38 | int inCnt, outCnt; |
| 39 | 39 | Stmt q; |
| 40 | 40 | int queue[100]; |
| 41 | + | |
| 42 | +return 0; | |
| 41 | 43 | |
| 42 | 44 | db_prepare(&q, |
| 43 | 45 | "SELECT srcid, EXISTS(SELECT 1 FROM onremote WHERE rid=srcid)" |
| 44 | 46 | " FROM delta" |
| 45 | 47 | " WHERE rid=:x" |
| 46 | 48 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -36,10 +36,12 @@ | |
| 36 | */ |
| 37 | static int similar_record(int rid, int traceFlag){ |
| 38 | int inCnt, outCnt; |
| 39 | Stmt q; |
| 40 | int queue[100]; |
| 41 | |
| 42 | db_prepare(&q, |
| 43 | "SELECT srcid, EXISTS(SELECT 1 FROM onremote WHERE rid=srcid)" |
| 44 | " FROM delta" |
| 45 | " WHERE rid=:x" |
| 46 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -36,10 +36,12 @@ | |
| 36 | */ |
| 37 | static int similar_record(int rid, int traceFlag){ |
| 38 | int inCnt, outCnt; |
| 39 | Stmt q; |
| 40 | int queue[100]; |
| 41 | |
| 42 | return 0; |
| 43 | |
| 44 | db_prepare(&q, |
| 45 | "SELECT srcid, EXISTS(SELECT 1 FROM onremote WHERE rid=srcid)" |
| 46 | " FROM delta" |
| 47 | " WHERE rid=:x" |
| 48 |