qt5base-lts/tests/auto/sql/kernel/qsqldatabase
Matt Newell d5e9616e39 Add payload to QSqlDriver notification with PSQL implementation.
Postgres async notifications can contain a payload parameter
that is currently discarded. This patch provides the QSqlDriver
api change necessary to deliver a payload with each emitted
notification by adding a QVariant parameter to the notification
signal. It also provides the implementation for the qsqlpsql driver.
The qsql_ibase driver has been updated to reflect the change to the
notification signal signature.

The eventNotificationPSQL test in the qsqldatabase test has
been expanded to test proper payload sending and receiving.
All tests/auto/sql/kernel tests have been run with sqllite and
postgres with no regressions.

Task-number: QTBUG-13500
Change-Id: I9137f6acc8cfca93f45791ca930e0287d93d5d0d
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
2012-03-31 08:40:55 +02:00
..
testdata Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00
.gitignore Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00
qsqldatabase.pro all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
tst_databases.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
tst_qsqldatabase.cpp Add payload to QSqlDriver notification with PSQL implementation. 2012-03-31 08:40:55 +02:00