diff options
Diffstat (limited to 'tests/auto/sql')
-rw-r--r-- | tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp index 2030e2c4bf..26768f21ed 100644 --- a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp +++ b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp @@ -903,6 +903,7 @@ void tst_QSqlQuery::value() while ( q.next() ) { QCOMPARE( q.value( 0 ).toInt(), i ); + QCOMPARE( q.value( "id" ).toInt(), i ); if ( db.driverName().startsWith( "QIBASE" ) ) QVERIFY( q.value( 1 ).toString().startsWith( "VarChar" + QString::number( i ) ) ); |