remove the version number checks in favor of actual functionality
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Fri, 1 Jul 2022 19:49:23 +0000 (20:49 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 1 Jul 2022 19:49:23 +0000 (20:49 +0100)
commitf8ba3147d05ff56bfd888b69b85b1efb2ced040e
tree2b1f3ccdbb3f6caa6a3f357392afdf4a3ca45fa1
parentd89d574be7881d886fbfd1c7239687c583fd7165
remove the version number checks in favor of actual functionality

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=211369133cf40b2f
Last-Update: 2021-08-10

MariaDB library version 3.2 no longer returns the server version in the
10.x range but the library version itself, which is lower than 4.x. That
meant we concluded the server did not support prepared statements.

And because of the lack of prepared statements, all QDateTime
conversions failed, because of the timezone. I don't know if this was
intended or what, but it's a side issue.

Gbp-Pq: Name mysql_remove_version_checks.diff
src/plugins/sqldrivers/mysql/qsql_mysql.cpp