[mythtv-commits] Ticket #12713: Mythweb fails with mysql Server version: 5.7.11-0ubuntu5

MythTV noreply at mythtv.org
Sun Apr 24 13:11:28 UTC 2016


#12713: Mythweb fails with mysql Server version: 5.7.11-0ubuntu5
----------------------------------+----------------------------
 Reporter:  jksjdevelop@…         |          Owner:  dekarl
     Type:  Bug Report - General  |         Status:  infoneeded
 Priority:  minor                 |      Milestone:  0.28.1
Component:  Plugin - MythWeb      |        Version:  0.28.0
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+----------------------------

Comment (by charles.bovy@…):

 Thanks for the commit dekarl!

 Still 2 issues left, which were included in patch. Let me explain in more
 details.

 1. Listings

 {{{SQL Error: Expression #3 of SELECT list is not in GROUP BY clause and
 contains nonaggregated column 'mythconverg.program.endtime' which is not
 functionally dependent on columns in GROUP BY clause; this is incompatible
 with sql_mode=only_full_group_by [#1055]}}}

 There is an 'incomplete' GROUP BY in modules/tv/includes/programs.php. The
 question what is the added value of the GROUP BY. I've tried the queries
 with and without GROUP BY and get similar results. Therefor I suggested to
 remove the GROUP BY in modules/tv/includes/programs.php in function
 load_all_program_data.

 2. The second issue reveals if after fixing above, select a show and
 record it.

 {{{SQL Error: Incorrect datetime value: '00:00:00' for column
 'next_record' at row 1}}}

 Changing 00:00:00 to NULL will solve this. Same applies for last_record
 and last_delete.

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


More information about the mythtv-commits mailing list