[mythtv-commits] Ticket #13304: FTBFS with MySQL 8.0
MythTV
noreply at mythtv.org
Fri Aug 10 11:32:07 UTC 2018
#13304: FTBFS with MySQL 8.0
-------------------------------------+------------------------------
Reporter: ltangvald | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: Plugin - MythZoneminder | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------
Comment (by ltangvald):
Yeah, they've been steadily diverging (generally we had more issues of
this type for the transition from 5.6 to 5.7, but it varies what software
is affected by each change).
There's a reasonably simple way to support both by adding a precompile
directive:
#if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80000
typedef int reconnect_t
#else
typedef my_bool reconnect_t
#endif
reconnect_t reconnect = 1;
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13304#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list