qt5base-lts/tests/auto/sql/kernel/qsqldatabase
Christian Ehrlicher b211148e4b Sql ODBC driver: add direct support for float and short datatype
This patch adds native support for SQL_REAL (float) and SQL_SMALLINT
(short). Previously those datatypes were mapped to double and integer.

[ChangeLog][QtSql] The ODBC driver now properly maps QMetaType::Float to
real sql datatype and QMetaType::Short to smallint

Fixes: QTBUG-8963
Fixes: QTBUG-57279
Change-Id: Ifec4c609734dbe6165c1ebdadb461c2aae47ba78
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
2021-01-10 13:02:14 +01:00
..
testdata Remove exec bits from files that should not be executable 2015-06-07 22:50:19 +00:00
.gitignore Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
tst_databases.h Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
tst_qsqldatabase.cpp Sql ODBC driver: add direct support for float and short datatype 2021-01-10 13:02:14 +01:00