From 638f46a96b68d21137c4903c68015752ebdf58dc Mon Sep 17 00:00:00 2001 From: Bill King Date: Tue, 29 Sep 2009 13:46:10 +1000 Subject: Fixes failing autotest. --- tests/auto/qsqldatabase/tst_qsqldatabase.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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)")); -- cgit v0.12