Fossil SCM

Make sure the manifest_crosslink_begin/end pair can be called multiple times.

drh 2009-09-14 14:10 trunk
Commit 2a069086e9caf2df7384b756a1dbb334f3d13e24
1 file changed +1
--- src/manifest.c
+++ src/manifest.c
@@ -911,10 +911,11 @@
911911
while( db_step(&q)==SQLITE_ROW ){
912912
const char *zUuid = db_column_text(&q, 0);
913913
ticket_rebuild_entry(zUuid);
914914
}
915915
db_finalize(&q);
916
+ db_multi_exec("DROP TABLE pending_tkt");
916917
db_end_transaction(0);
917918
manifest_crosslink_busy = 0;
918919
}
919920
920921
/*
921922
--- src/manifest.c
+++ src/manifest.c
@@ -911,10 +911,11 @@
911 while( db_step(&q)==SQLITE_ROW ){
912 const char *zUuid = db_column_text(&q, 0);
913 ticket_rebuild_entry(zUuid);
914 }
915 db_finalize(&q);
 
916 db_end_transaction(0);
917 manifest_crosslink_busy = 0;
918 }
919
920 /*
921
--- src/manifest.c
+++ src/manifest.c
@@ -911,10 +911,11 @@
911 while( db_step(&q)==SQLITE_ROW ){
912 const char *zUuid = db_column_text(&q, 0);
913 ticket_rebuild_entry(zUuid);
914 }
915 db_finalize(&q);
916 db_multi_exec("DROP TABLE pending_tkt");
917 db_end_transaction(0);
918 manifest_crosslink_busy = 0;
919 }
920
921 /*
922

Keyboard Shortcuts

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