summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp
index 4a0eab0f83..f5cc8d3b02 100644
--- a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp
+++ b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp
@@ -2712,11 +2712,11 @@ void tst_QSqlQuery::blobsPreparedQuery()
QVERIFY_SQL( q, exec( QString( "CREATE TABLE %1(id INTEGER, data %2)" ).arg( tableName ).arg( typeName ) ) );
q.prepare( QString( "INSERT INTO %1(id, data) VALUES(:id, :data)" ).arg( tableName ) );
q.bindValue( ":id", 1 );
- q.bindValue( ":data", shortBLOB.toAscii() );
+ q.bindValue( ":data", shortBLOB.toLatin1() );
QVERIFY_SQL( q, exec() );
q.bindValue( ":id", 2 );
- q.bindValue( ":data", longerBLOB.toAscii() );
+ q.bindValue( ":data", longerBLOB.toLatin1() );
QVERIFY_SQL( q, exec() );
// Two executions and result sets