Mailing List Archive

[MythTV/mythtv] 512d72: Fix update of older MythTV databases (#844)
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@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.


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits