summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsqldatabase
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-09-29 03:46:10 (GMT)
committerBill King <bill.king@nokia.com>2009-09-29 03:48:35 (GMT)
commit638f46a96b68d21137c4903c68015752ebdf58dc (patch)
treeced10a750f2cbf1beb512c76ba2924bfa888d4af /tests/auto/qsqldatabase
parentaa8865b37520cf591ae795895f4a38d5ad86c17a (diff)
downloadQt-638f46a96b68d21137c4903c68015752ebdf58dc.zip
Qt-638f46a96b68d21137c4903c68015752ebdf58dc.tar.gz
Qt-638f46a96b68d21137c4903c68015752ebdf58dc.tar.bz2
Fixes failing autotest.
Diffstat (limited to 'tests/auto/qsqldatabase')
-rw-r--r--tests/auto/qsqldatabase/tst_qsqldatabase.cpp4
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)"));