[mythtv] patch for mythfilldatabase
Dave Caplinger
dent at cox.net
Wed Jan 29 23:25:30 EST 2003
Nobody else is complaining about this so maybe it's just something odd
about my setup, but running current CVS is giving me errors on all of
the INSERTs itnto the 'program' table because the timestamp strings
aren't enclosed in quotes of some kind.
Here's a trivial patch to fix it in any case. If anyone thinks that
I've just got something broken, please speak up...
--
Dave Caplinger <dent at cox.net>
-------------- next part --------------
--- filldata.cpp.orig 2003-01-29 22:48:49.000000000 -0600
+++ filldata.cpp 2003-01-29 22:49:22.000000000 -0600
@@ -760,7 +760,7 @@
querystr.sprintf("INSERT INTO program (chanid,starttime,endtime,"
"title,subtitle,description,category) VALUES(%d,"
- " %s, %s, \"%s\", \"%s\", \"%s\", \"%s\");",
+ " '%s', '%s', \"%s\", \"%s\", \"%s\", \"%s\");",
chanid,
(*i).start.toString("yyyyMMddhhmmss").ascii(),
(*i).end.toString("yyyyMMddhhmmss").ascii(),
More information about the mythtv-dev
mailing list