summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsqldatabase
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-03-23 09:57:22 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-03-23 09:57:22 (GMT)
commit3acb3c64cbdf538bde2299a0343e8ba250516901 (patch)
tree05392556f80735701a0b75065b9efb0795465ed0 /tests/auto/qsqldatabase
parent67ad0519fd165acee4a4d2a94fa502e9e4847bd0 (diff)
parente5fcad302d86d316390c6b0f62759a067313e8a9 (diff)
downloadQt-3acb3c64cbdf538bde2299a0343e8ba250516901.zip
Qt-3acb3c64cbdf538bde2299a0343e8ba250516901.tar.gz
Qt-3acb3c64cbdf538bde2299a0343e8ba250516901.tar.bz2
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'tests/auto/qsqldatabase')
-rw-r--r--tests/auto/qsqldatabase/tst_qsqldatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsqldatabase/tst_qsqldatabase.cpp b/tests/auto/qsqldatabase/tst_qsqldatabase.cpp
index 25de429..349db65 100644
--- a/tests/auto/qsqldatabase/tst_qsqldatabase.cpp
+++ b/tests/auto/qsqldatabase/tst_qsqldatabase.cpp
@@ -307,7 +307,7 @@ void tst_QSqlDatabase::createTestTables(QSqlDatabase db)
+ db.driver()->escapeIdentifier(qTableName("qtest") + " test", QSqlDriver::TableName)
+ '('
+ db.driver()->escapeIdentifier(QLatin1String("test test"), QSqlDriver::FieldName)
- + " int primary key)";
+ + " int not null primary key)";
QVERIFY_SQL(q, exec(qry));
}
}