[Bug 248929] databases/akonadi: Fails to start with MySQL errors

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 27 18:22:28 BST 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248929

--- Comment #9 from commit-hook at FreeBSD.org ---
A commit in branch 2021Q3 references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=5b49dd92f47ed462e9b60597bf2b179268927213

commit 5b49dd92f47ed462e9b60597bf2b179268927213
Author:     Adriaan de Groot <adridg at FreeBSD.org>
AuthorDate: 2021-07-11 15:52:29 +0000
Commit:     Tobias C. Berner <tcberner at FreeBSD.org>
CommitDate: 2021-08-27 15:18:24 +0000

    databases/qt5-sqldrivers-mysql: fix against mysql 5.7.34

    In mysql 5.7.34 binding a parameter to a 0-sized buffer triggers
    an assert() -- previously this was DBG_ASSERT. This triggers
    crashes in databases/akonadi in particular, which binds blobs of
    size 0. This patch allows akonadi with the default mysql to
    start (at all) again.

    The patch file previously held a Qt4-era patch which had long
    ago had a better patch applied upstream (the comment in the
    patch refers to that). The old stuff has been removed, leaving
    only the parameter-fix.

    PR:             248929

    (cherry picked from commit e093f1162c353f3d62dce85e9e74053fc9a4743c)

 databases/qt5-sqldrivers-mysql/Makefile            |  1 +
 ...ch-src_plugins_sqldrivers_mysql_qsql__mysql.cpp | 77 +++++-----------------
 2 files changed, 16 insertions(+), 62 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list