[mythtv] Small but very important fix.

Martin Moeller martin at martinm-76.dk
Sat Sep 20 04:09:30 EDT 2003


I decided to try out CVS with the new transcoding updates, but upon
updating the database layout something failed. It took me a while to
find out where to look and what the problem was (I got a clue from an
older message by Geoffrey). Essentially: One comma too many.

With that comma gone (any my DB updated by hand) it works.

Index: libs/libmythtv/dbcheck.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/dbcheck.cpp,v
retrieving revision 1.4
diff -u -r1.4 dbcheck.cpp
--- libs/libmythtv/dbcheck.cpp  18 Sep 2003 21:34:24 -0000      1.4
+++ libs/libmythtv/dbcheck.cpp  20 Sep 2003 01:05:28 -0000
@@ -80,7 +80,7 @@
 "  videocodec varchar(128) default NULL,"
 "  audiocodec varchar(128) default NULL,"
 "  profilegroup int(10) unsigned NOT NULL DEFAULT 0,"
-"  PRIMARY KEY (id),"
+"  PRIMARY KEY (id)"
 ");",
 "INSERT INTO recordingprofiles SET name = \"Default\", profilegroup =
1;",
 "INSERT INTO recordingprofiles SET name = \"Live TV\", profilegroup =
1;",




More information about the mythtv-dev mailing list