diff options
| author | Andy Shaw <andy.shaw@qt.io> | 2016-12-21 14:02:14 +0100 |
|---|---|---|
| committer | Andy Shaw <andy.shaw@qt.io> | 2017-01-05 10:32:14 +0000 |
| commit | 47de2ef27f9d68d5c1f2f935380e1517f99c9721 (patch) | |
| tree | 2512ceab596ba2d84402e85235b57d1fd9aad532 /src/gui/opengl/qopenglversionfunctions.cpp | |
| parent | af5c8d04fb0c9ddda58925e4862e857c78a5e563 (diff) | |
QOCIDriver: Ensure the where clause is correctly setup
Commit 88e043a8 introduced two bugs:
1. When constructing the WHERE clause, the closing ' around the owner
name was dropped.
2. When constructing QLatin1Strings for comparison with system owners,
a size of -1 was passed, with the comment "force strlen call". But,
unlike QString, QLatin1String does not invoke strlen(), but stores
the negative length unchanged, making the comparisons always fail.
Change-Id: Ie2835b76877c31ee32c900f67eb0853df7110dbb
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/opengl/qopenglversionfunctions.cpp')
0 files changed, 0 insertions, 0 deletions
