diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2021-01-01 20:07:29 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2021-01-10 13:02:14 +0100 |
commit | b211148e4b4167483e1a78a45ae8fef97e5a4f2d (patch) | |
tree | 884d9e657a8a5e5ae2cbde9b3f781bcf3855968d /examples | |
parent | 161e8f4d5dbaa568975d61d770144484e14a62e0 (diff) |
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>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions