diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2022-09-26 19:58:27 +0200 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2022-10-01 03:15:24 +0200 |
commit | 44ac742f730a5e8cac229067429eb2f5cb90105a (patch) | |
tree | fd6e0df2d5cbe754e088a0a820c44a404efc857b /examples/sql/masterdetail | |
parent | bafbffb0337e2159c0355e66c8de8e1f4ceda296 (diff) |
QODBC: fix handling NULL values for strings
Qt6 added a slight behavior change in QVariant - an empty QString in a
QVariant no longer results in QVariant::isNull(). This created an issue
that qGetStringData() could no longer return a NULL value. On the other
side, NULL values in Qt5 could not be distinguished to an empty string
which we now can.
Fixes: QTBUG-106607
Pick-to: 6.2
Change-Id: Iddc6f7e8b97f5abc136bbbfd02d175b80152ac90
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/sql/masterdetail')
0 files changed, 0 insertions, 0 deletions