[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-09-25 Thread Kevin Kofler
https://bugs.kde.org/show_bug.cgi?id=383991

--- Comment #6 from Kevin Kofler  ---
Ah, looks like Daniel Vrátil already did that:
https://codereview.qt-project.org/#/c/205874/

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-09-25 Thread Kevin Kofler
https://bugs.kde.org/show_bug.cgi?id=383991

Kevin Kofler  changed:

   What|Removed |Added

 CC||kevin.kof...@chello.at

--- Comment #5 from Kevin Kofler  ---
How about fixing the issue in Qt instead, where it actually lies?

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-09-17 Thread Heinz Wiesinger
https://bugs.kde.org/show_bug.cgi?id=383991

--- Comment #4 from Heinz Wiesinger  ---
Git commit b145f47f000978b9d39edc1882849ec7f6b3ef79 by Heinz Wiesinger.
Committed on 17/09/2017 at 15:21.
Pushed by wiesinger into branch 'Applications/17.08'.

Only remove init connections to the database on server shutdown.

Summary:
With MariaDB 10.2 libmysqlclient was replaced with libmariadb that
changed how establishing database connections behaves. The MySQL
QSQL driver calls mysql_server_end() on QSqlDatabase::removeDatabase()
if the overall connection count dropped to 0 (which it does when
the init connection is removed).
A future QSqlDatabase:addDatabase() would call mysql_server_init()
again, but this no longer works with libmariadb as that one only
allows calling mysql_server_init() once. Future calls are simply
ignored.

In order to prevent this from happening we have to keep the
init connection open until the server shuts down, so the connection
count only drops to 0 at shutdown and mysql_server_end() isn't
called before.

This is a workaround for QTBUG-63108

Reviewers: dvratil, mlaurent

Reviewed By: dvratil

Subscribers: #kde_pim

Tags: #kde_pim

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

M  +2-1src/server/akonadi.cpp
M  +3-1src/server/storage/dbconfigmysql.cpp

https://commits.kde.org/akonadi/b145f47f000978b9d39edc1882849ec7f6b3ef79

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-09-12 Thread nucleo
https://bugs.kde.org/show_bug.cgi?id=383991

nucleo  changed:

   What|Removed |Added

 CC||nuc...@fedoraproject.org

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-09-12 Thread Rex Dieter
https://bugs.kde.org/show_bug.cgi?id=383991

Rex Dieter  changed:

   What|Removed |Added

 CC||rdie...@gmail.com

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-09-09 Thread Dennis Schridde
https://bugs.kde.org/show_bug.cgi?id=383991

--- Comment #3 from Dennis Schridde  ---
P.S. Thanks, Heinz, for digging further into this!

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-09-09 Thread Dennis Schridde
https://bugs.kde.org/show_bug.cgi?id=383991

Dennis Schridde  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|UNCONFIRMED |RESOLVED

--- Comment #2 from Dennis Schridde  ---
According to the MariaDB bugreport [1] this is a bug in QtSQL [2].

[1]: https://jira.mariadb.org/browse/CONC-277
[2]: https://bugreports.qt.io/browse/QTBUG-63108

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-09-09 Thread Dennis Schridde
https://bugs.kde.org/show_bug.cgi?id=383991

Dennis Schridde  changed:

   What|Removed |Added

   See Also||https://jira.mariadb.org/br
   ||owse/CONC-277,
   ||https://bugreports.qt.io/br
   ||owse/QTBUG-63108

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-09-09 Thread Heinz Wiesinger
https://bugs.kde.org/show_bug.cgi?id=383991

Heinz Wiesinger  changed:

   What|Removed |Added

 CC||ppr...@liwjatan.at

--- Comment #1 from Heinz Wiesinger  ---
For reference:

MariaDB bug report: https://jira.mariadb.org/browse/CONC-277
Qt bug report: https://bugreports.qt.io/browse/QTBUG-63108

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-09-02 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=383991

hiwatari.se...@gmail.com changed:

   What|Removed |Added

 CC||hiwatari.se...@gmail.com

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-08-29 Thread Heiko Becker
https://bugs.kde.org/show_bug.cgi?id=383991

Heiko Becker  changed:

   What|Removed |Added

 CC||heire...@exherbo.org

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-08-27 Thread ml
https://bugs.kde.org/show_bug.cgi?id=383991

ml  changed:

   What|Removed |Added

 CC||iivan...@gmail.com

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

[Akonadi] [Bug 383991] Akonadi 17.08.0 / 5.6.0 with MariaDB 10.2.8 - Plugin pvio_socket could not be loaded: not initialized

2017-08-25 Thread Denis Lisov
https://bugs.kde.org/show_bug.cgi?id=383991

Denis Lisov  changed:

   What|Removed |Added

 CC||dennis.lis...@gmail.com

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