fix QSqlQuery ODBC auto tests
authorMark Brand <mabrand@mabrand.nl>
Fri, 13 Apr 2012 15:11:30 +0000 (17:11 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 17 Apr 2012 14:28:46 +0000 (16:28 +0200)
commitb8d1abe65b666dd49e2fbd0859070e32e304458e
tree395ab1c1953dbfcbed464cb22632556ec23af001
parenta73125badaeb0c5848934a829b7f1465827d0e88
fix QSqlQuery ODBC auto tests

The placeholder name must include the : prefix.

Several type tests for aggregate functions assumed sqlite behavior
which is actually exceptional due to sqlite's loose type system.

REAL is a synonymn for DOUBLE in sqlite but is also compatible with
at least MS SQL Server, PostgreSQL, Oracle, and MySQL.

Change-Id: I97f8c55d2e962b072cfab11a121fda685666e754
Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp