FTBFS with MySQL 8.0

Bug #1783502 reported by Lars Tangvald
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
New
Undecided
Unassigned

Bug Description

Build fails because the my_bool type has been removed in MySQL, to be replaced with either int or bool (ref: https://dev.mysql.com/doc/refman/8.0/en/c-api-data-structures.html)

Tags: ftbfs patch
Revision history for this message
Lars Tangvald (lars-tangvald) wrote :
tags: added: ftbfs
Revision history for this message
Lars Tangvald (lars-tangvald) wrote :

Patch uses int if the MySQL version is 8.0 or greater, otherwise my_bool.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "mysql-8.0.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Lars Tangvald (lars-tangvald) wrote :

Switching my_bool with int should actually be backwards-compatible, so the earlier patch can be simplified.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.