Fix compatibility with modern MySQL

Authored by vmatare on Mar 26 2020, 8:28 PM.

Description

Fix compatibility with modern MySQL

Summary:
MySQL 8.0 onward changed a few details in the client API, and embedded
support has apparently been removed completely. This PR makes
minimally invasive changes that fix the related compile errors in a
(hopefully) backward compatible manner.

Test Plan:
compile against MySQL <= 5, MySQL >= 8, and various versions of MariaDB
(though it seems they didn't touch that part of the API yet)

Reviewers: asturmlechner, heikobecker

Reviewed By: asturmlechner, heikobecker

Subscribers: heikobecker, jfowkes, asturmlechner, wbauer, amarok-devel

Tags: Amarok

Differential Revision: https://phabricator.kde.org/D28165

Details

Committed
heikobeckerMar 26 2020, 8:33 PM
Reviewer
asturmlechner
Differential Revision
D28165: Fix compatibility with modern MySQL
Parents
R181:edd580167b28: DiagnosticDialog: Use QStringLiteral
Branches
Unknown
Tags
Unknown