Index: db.scm ================================================================== --- db.scm +++ db.scm @@ -1046,11 +1046,12 @@ (define (db:tmp->megatest.db-sync dbstruct last-update) (let* ((mtdb (dbr:dbstruct-mtdb dbstruct)) (tmpdb (db:get-db dbstruct)) (refndb (dbr:dbstruct-refndb dbstruct))) - (db:sync-tables (db:sync-all-tables-list dbstruct) last-update tmpdb refndb mtdb))) + (db:sync-tables (db:sync-all-tables-list dbstruct) last-update tmpdb refndb mtdb) + (stack-push! (dbr:dbstruct-dbstack dbstruct) dbdat))) ;;;; run-ids ;; if #f use *db-local-sync* : or 'local-sync-flags ;; if #t use timestamps : or 'timestamps ;;