[mythtv-commits] [MythTV/mythtv] 512d72: Fix update of older MythTV databases (#844)

Patrick J. Maloney noreply at github.com
Sat Jan 13 14:12:11 UTC 2024


  Branch: refs/heads/fixes/33
  Home:   https://github.com/MythTV/mythtv
  Commit: 512d723c8374ee3cf5a1b63ce5290a71dc3beee9
      https://github.com/MythTV/mythtv/commit/512d723c8374ee3cf5a1b63ce5290a71dc3beee9
  Author: Patrick J. Maloney <120519414+PatrickJMaloney at users.noreply.github.com>
  Date:   2024-01-13 (Sat, 13 Jan 2024)

  Changed paths:
    M mythtv/libs/libmythbase/dbutil.cpp
    M mythtv/libs/libmythbase/dbutil.h
    M mythtv/libs/libmythtv/dbcheck.cpp

  Log Message:
  -----------
  Fix update of older MythTV databases   (#844)

* Add method CheckTableColumnExists which checks for existence of a column in a database table.

* Execute some blocks of SQL earlier in the migration process to allow older database versions to migrate properly.

* Changes per PR #844 code review.

* Add requested comments.




More information about the mythtv-commits mailing list