[mythtv] Re: [mythtv-commits] mythtv commits

David Engel gigem at comcast.net
Tue Jun 1 18:11:53 EDT 2004


On Tue, Jun 01, 2004 at 03:45:01PM -0400, Isaac Richards wrote:
> > Hmm, there's only a couple of fairly localized places in the code that
> > would be affected (ProgLister and Scheduler).  I could make the type
> > of search used configurable by adding a backend setting or detecting
> > magic characters in the search string.  The former would be safer with
> > the default being mysql 3 compatible.
> 
> We could possibly also just run a 'select version();' query when the db is 
> opened and store it in the MythSqlDatabase class, if you wanted to 
> automatically detect what query type to use.

I think it would be better to have the user make an explicit choice
when changing query types.  It could be rather confusing if all of
their myth searches changed behavior just because they upgraded mysql.

David
-- 
David Engel
gigem at comcast.net


More information about the mythtv-dev mailing list