Fossil SCM
Fix a bug in autosync commit - cleanup the onremote temp table after use.
Commit
a15122ff2d64cb7316c36d2474cee969cbb911d9
Parent
d8d6dc85e1e059e…
1 file changed
+1
+1
| --- src/xfer.c | ||
| +++ src/xfer.c | ||
| @@ -880,7 +880,8 @@ | ||
| 880 | 880 | if( xfer.nFileSent+xfer.nDeltaSent>0 ){ |
| 881 | 881 | go = 1; |
| 882 | 882 | } |
| 883 | 883 | }; |
| 884 | 884 | http_close(); |
| 885 | + db_multi_exec("DROP TABLE onremote"); | |
| 885 | 886 | db_end_transaction(0); |
| 886 | 887 | } |
| 887 | 888 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -880,7 +880,8 @@ | |
| 880 | if( xfer.nFileSent+xfer.nDeltaSent>0 ){ |
| 881 | go = 1; |
| 882 | } |
| 883 | }; |
| 884 | http_close(); |
| 885 | db_end_transaction(0); |
| 886 | } |
| 887 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -880,7 +880,8 @@ | |
| 880 | if( xfer.nFileSent+xfer.nDeltaSent>0 ){ |
| 881 | go = 1; |
| 882 | } |
| 883 | }; |
| 884 | http_close(); |
| 885 | db_multi_exec("DROP TABLE onremote"); |
| 886 | db_end_transaction(0); |
| 887 | } |
| 888 |