diff options
| author | Andy Shaw <andy.shaw@qt.io> | 2018-09-06 12:39:31 +0200 |
|---|---|---|
| committer | Andy Shaw <andy.shaw@qt.io> | 2018-09-11 16:39:03 +0000 |
| commit | a3e8b92d971aef58174aefaa60741d16af8271ae (patch) | |
| tree | 6a999a0b8133431b7f741fafac033fb3f9515aa6 /src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp | |
| parent | d8c210d7f576fc54b41ad06c061ece7cadeed648 (diff) | |
ODBC: Remove the trailing \0 in the case of a non unicode string
Some ODBC drivers, such as old Informix ODBC drivers will incorrectly
include a trailing \0 in a string when this should not exist. For
unicode strings this was already accounted for, but for non-unicode ones
this was not covered.
The change also fixes up the comments a bit to make this clearer and
also added one for the unicode case.
Task-number: QTBUG-62406
Change-Id: Id932a58d9e5fdff2f4d1aacf8cc9fdaeb34f95f4
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp')
0 files changed, 0 insertions, 0 deletions
