summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/sqlite/qsql_sqlite_vfs.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-01-19 16:00:31 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-01-22 21:18:00 +0100
commit41c842d3f7eecdf736d26026427033791586c83a (patch)
tree804b7aeb0d1a4eb86bb638fc226e3a8e9612451c /src/plugins/sqldrivers/sqlite/qsql_sqlite_vfs.cpp
parent0047affafb3d1b6086c0fc59c50ea9f3b46effe7 (diff)
SQL/MySQL: Fix compilation with MySQL 8.3
With MySQL 8.3 mysql_fetch_field() was removed which was used in QMYSQLDriver::record(). There is no real replacement function so we use 'SELECT * from table LIMIT 0' to retrieve the schema information. Additionally mysql_stmt_bind_param() was deprecated and needs to be replaced by mysql_stmt_bind_named_param(). [ChangeLog][SQL][MySQL] Fixed compilation with MySQL 8.3. Pick-to: 6.7 6.6 6.5 6.2 5.15 Fixes: QTBUG-121183 Change-Id: I149836bd5674d0784255baf416d437c424992f20 Reviewed-by: silverqx <silver.zachara@gmail.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/sqldrivers/sqlite/qsql_sqlite_vfs.cpp')
0 files changed, 0 insertions, 0 deletions