[mythtv-commits] Ticket #6811: Invalid default value for BLOB field in MySQL CREATE statement for mythweb_sessions table
MythTV
mythtv at cvs.mythtv.org
Wed Aug 5 15:12:29 UTC 2009
#6811: Invalid default value for BLOB field in MySQL CREATE statement for
mythweb_sessions table
----------------------------------------------------+-----------------------
Reporter: Jonathan Martens <jonathan at snetram.nl> | Owner: xris
Type: defect | Status: new
Priority: major | Milestone: 0.22
Component: Plugin - MythWeb | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
----------------------------------------------------+-----------------------
Comment(by anonymous):
> Oops, the patch removed the NOT NULL specifier which is allowed, this is
an updated patch
Are you planning also to audit main MythTV DB? If you want to see real
fireworks, turn on MySQL mode (STRICT_TRANS_TABLES or STRICT_ALL_TABLES)
and see what happens. There are many cases of "NOT NULL" in the myth
schema that are not respected in code (frequently dates and text fields),
but by default MySQL allows it anyway. mythfilldatabase, manual
recordings, and channel scanner are just a few things that break if you
activate strict mode.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6811#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list