Fossil SCM

Fix a bug in autosync commit - cleanup the onremote temp table after use.

drh 2007-09-26 13:49 trunk
Commit a15122ff2d64cb7316c36d2474cee969cbb911d9
1 file changed +1
+1
--- src/xfer.c
+++ src/xfer.c
@@ -880,7 +880,8 @@
880880
if( xfer.nFileSent+xfer.nDeltaSent>0 ){
881881
go = 1;
882882
}
883883
};
884884
http_close();
885
+ db_multi_exec("DROP TABLE onremote");
885886
db_end_transaction(0);
886887
}
887888
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button