[mythtv-commits] mythtv commit: r12958 by cpinkham
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Wed Mar 7 07:36:04 UTC 2007
Author: cpinkham
Date: 2007-03-07 07:36:03 +0000 (Wed, 07 Mar 2007)
New Revision: 12958
Changeset: http://cvs.mythtv.org/trac/changeset/12958
Modified:
trunk/mythtv/libs/libmythtv/dbcheck.cpp
Log:
Don't specify default values for the fromclause/whereclause text fields.
Early MySQL v5.x versions silently allowed this. Later MySQL versions give
a warning in non-strict mode and error out when the server is in strict mode.
The code that uses this table always specifies both columns so there shouldn't
be a need for the default value if it is going to cause some people to get
errors trying to upgrade their DB.
Closes #3094.
References MySQL docs and bugs:
http://bugs.mysql.com/bug.php?id=19498
http://bugs.mysql.com/bug.php?id=26798
http://dev.mysql.com/doc/refman/5.0/en/blob.html
More information about the mythtv-commits
mailing list