[mythtv-commits] [MythTV/mythtv] cf553e: Housekeeper: allows initial INSERTs to the houseke...

billmeek noreply at github.com
Tue Aug 2 03:04:59 UTC 2022


  Branch: refs/heads/fixes/32
  Home:   https://github.com/MythTV/mythtv
  Commit: cf553e438c0c2cf09a47aa9d40810f61e4ba1db5
      https://github.com/MythTV/mythtv/commit/cf553e438c0c2cf09a47aa9d40810f61e4ba1db5
  Author: Bill Meek <bmeek at mythtv.org>
  Date:   2022-08-01 (Mon, 01 Aug 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