diff options
author | Bill King <bill.king@nokia.com> | 2009-09-29 03:46:10 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2009-09-29 03:48:35 (GMT) |
commit | 638f46a96b68d21137c4903c68015752ebdf58dc (patch) | |
tree | ced10a750f2cbf1beb512c76ba2924bfa888d4af /tests/auto/qsqldatabase/tst_qsqldatabase.cpp | |
parent | aa8865b37520cf591ae795895f4a38d5ad86c17a (diff) | |
download | Qt-638f46a96b68d21137c4903c68015752ebdf58dc.zip Qt-638f46a96b68d21137c4903c68015752ebdf58dc.tar.gz Qt-638f46a96b68d21137c4903c68015752ebdf58dc.tar.bz2 |
Fixes failing autotest.
Diffstat (limited to 'tests/auto/qsqldatabase/tst_qsqldatabase.cpp')
-rw-r--r-- | tests/auto/qsqldatabase/tst_qsqldatabase.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qsqldatabase/tst_qsqldatabase.cpp b/tests/auto/qsqldatabase/tst_qsqldatabase.cpp index ce2396d..4175bef 100644 --- a/tests/auto/qsqldatabase/tst_qsqldatabase.cpp +++ b/tests/auto/qsqldatabase/tst_qsqldatabase.cpp @@ -2001,6 +2001,10 @@ void tst_QSqlDatabase::odbc_bindBoolean() QSqlDatabase db = QSqlDatabase::database(dbName); CHECK_DATABASE(db); + if (tst_Databases::isMySQL(db)) { + QSKIP("MySql has inconsistent behaviour of bit field type across versions.", SkipSingle); + return; + } QSqlQuery q(db); QVERIFY_SQL(q, exec("CREATE TABLE " + qTableName("qtestBindBool") + "(id int, boolvalue bit)")); |