diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-02-15 21:34:50 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-02-22 19:00:08 +0000 |
commit | a924b4d58f66da44cd9a5ed8896f80a5121bac4a (patch) | |
tree | 7cfef13b27f90d92d1c8458697db23b7594512c0 /src/plugins/platformthemes | |
parent | 988c3e4fc0ddcf154e39cc3a0b5969a84f6eff5f (diff) |
psql: do not try to get table name when PQftable returns InvalidOid
When the table for a selected column can't be determined (e.g. because
there is no table for it), PQftable returns InvalidOid. This was not
covered and a query to determine the table name was executed every
time which slowed down calls to QSqlQuery::value(QString).
Task-number: QTBUG-65226
Change-Id: Idd8fbaaef7b01ca4151439f46cad2cce6f1c93e9
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/plugins/platformthemes')
0 files changed, 0 insertions, 0 deletions