diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2009-03-23 09:57:22 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-03-23 09:57:22 (GMT) |
commit | 3acb3c64cbdf538bde2299a0343e8ba250516901 (patch) | |
tree | 05392556f80735701a0b75065b9efb0795465ed0 /tests/auto/qsqldatabase | |
parent | 67ad0519fd165acee4a4d2a94fa502e9e4847bd0 (diff) | |
parent | e5fcad302d86d316390c6b0f62759a067313e8a9 (diff) | |
download | Qt-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.cpp | 2 |
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)); } } |