summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorRobert Szefner <r.szefner@hydro-partner.pl>2017-10-20 23:31:12 +0200
committerRobert Szefner <robertsz27@interia.pl>2017-11-04 20:58:08 +0000
commitff914ea59c3788b2359ddb8d607299576b7a1296 (patch)
treecebceb1825d18736ccb4d6a11c7e1c20aee0b884 /src/3rdparty
parent435c4b2ccbbb7284918dd2d4a14f8e44c3977d98 (diff)
QPSQL: Fix handling binary data for PostgreSQL 9.x and later
Set byte_output to 'escape' mode for server version 9 and later, no matter what version of client library we use. Since setting byte_output doesn't depend on client version anymore, we can move it to separate function. This fixes qtbase\tests\auto\sql\kernel\qsqldatabase tst_QSqlDatabase::psql_escapeBytea() test (before this change test did not pass on PostgreSQL 9.6) Change-Id: I37aaa18267d7e6459c00010ed899536c01e8124e Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/3rdparty')
0 files changed, 0 insertions, 0 deletions