tag the recording record depending on success of updating db

This commit is contained in:
Leo Butler 2021-01-21 20:32:49 -06:00
parent f999148fc4
commit 084cc7f63f
1 changed files with 2 additions and 2 deletions

View File

@ -462,9 +462,9 @@
(mythconverg-update-recorded-table tr-rec rec #f)
;; mysql-commit in this step
(if update-database (mythconverg-execute mysql-cmd))
(list rec tr-rec))
(list 'updated (recording-basename rec)))
(lambda (key . args)
(list rec tr-rec 'error)))))
(list 'error (recording-basename rec))))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; MAIN ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;