Fix compatibility with QMYSQL driver after 74aed95
ClosedPublic

Authored by dvratil on Jul 23 2019, 9:35 AM.

Details

Summary

QPSQL requires the table name passed to QSqlDatabase::record() to be lowercase
since Qt 5.13, but doing that breaks QMYSQL, so only adjust the name when
using QPSQL.

CCBUG: 409234

Diff Detail

Repository
R165 Akonadi
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dvratil created this revision.Jul 23 2019, 9:35 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptJul 23 2019, 9:35 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
dvratil requested review of this revision.Jul 23 2019, 9:35 AM
vkrause accepted this revision.Jul 26 2019, 11:09 AM
This revision is now accepted and ready to land.Jul 26 2019, 11:09 AM
This revision was automatically updated to reflect the committed changes.