[mythtv-commits] [MythTV/mythtv] e0996c: Housekeeper: allows initial INSERTs to the houseke...
billmeek
noreply at github.com
Wed Jul 27 13:18:27 UTC 2022
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: e0996cb4996636618dd4f67b0f6877268ef71707
https://github.com/MythTV/mythtv/commit/e0996cb4996636618dd4f67b0f6877268ef71707
Author: Bill Meek <bmeek at mythtv.org>
Date: 2022-07-27 (Wed, 27 Jul 2022)
Changed paths:
M mythtv/libs/libmythbase/housekeeper.cpp
Log Message:
-----------
Housekeeper: allows initial INSERTs to the housekeeping table
Fresh DBs have no entries in housekeeping. INSERTs weren't
being made because the test that decided to do it always
failed and caused an UPDATE. That did nothing because a
matching tag wasn't found.
Now, always do an UPDATE and if the no rows were affected,
then do an INSERT.
More information about the mythtv-commits
mailing list