[mythtv-commits] Ticket #11480: SQL syntax errors prevents listing of ROMs

MythTV noreply at mythtv.org
Sun Jul 28 02:41:08 UTC 2013


#11480: SQL syntax errors prevents listing of ROMs
----------------------------------+-------------------------
 Reporter:  contactme@…           |          Owner:
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  unknown
Component:  Plugin - MythGame     |        Version:  0.26
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+-------------------------
Changes (by wagnerrp):

 * owner:  wagnerrp =>
 * status:  accepted => new
 * milestone:  0.27 => unknown


Comment:

 The first issue should not be happening as far as I can tell. Both INSERT
 queries in the plugin bind QString values to the artwork, and even if
 empty, it should be inserting an empty string, not NULL. There may be some
 strange behavior with QSqlQuery where it interprets empty strings as
 NULLs. I'll have to look into that further.

 The second issue is caused by a real nasty mess of code
 (GameUI::getFillSql) used to generate a MySQL query. That whole thing
 should probably just get rewritten, and that's not going to happen for
 0.27.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11480#comment:7>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list