[mythtv] Patch to fix DB schema update

Tino Keitel tino.keitel at gmx.de
Mon Apr 19 14:42:21 EDT 2004


Hi folks,

the applied patch fixes the schema update when I switched to a new CVS
version. I don't know if it's mysql related, it just works for me with
4.0.18.

Regards,
Tino
-------------- next part --------------
--- libs/libmythtv/dbcheck.cpp  19 Apr 2004 05:50:15 -0000      1.42
+++ libs/libmythtv/dbcheck.cpp  19 Apr 2004 18:36:20 -0000
@@ -702,7 +702,7 @@
 "ALTER TABLE recordoverride ADD COLUMN station VARCHAR(20) NOT NULL DEFAULT '';",
 "UPDATE recordoverride,channel SET recordoverride.station=channel.callsign, "
 "   recordoverride.starttime=recordoverride.starttime, "
-"   recordoverride.endtime=recordoverride.endtime, "
+"   recordoverride.endtime=recordoverride.endtime "
     "WHERE recordoverride.chanid=channel.chanid;",
 ""
 };



More information about the mythtv-dev mailing list