qt5base-lts/tests/auto
Mark Brand 593b8f7f0b fix binding of bool type in mysql driver
MYSQL_TYPE_TINY should be used for binding bool input value.
MYSQL_TYPE_LONG might be too big for bool, resulting in bools being
saved in the database as int 127. The problem was not specific to
the vendor's BOOL column type.

http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html
http://dev.mysql.com/doc/refman/5.0/en/c-api-prepared-statement-type-codes.html

Added generic autotest to make sure that binding bool works. All
drivers should pass this test.

Task-number: QTBUG-27763
Change-Id: I4e69f8e3b32fffb702ec9fa8a80ff5c50dea954b
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
2012-11-09 00:37:42 +01:00
..
cmake Generate instances of types in the CMake tests. 2012-10-31 07:16:03 +01:00
compilerwarnings/data Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
concurrent Fix for leak in QFuture 2012-11-01 16:09:29 +01:00
corelib test: Mark tst_QLocale::macDefaultLocale as XFAIL 2012-11-08 20:58:39 +01:00
dbus normalise signal/slot signatures [QtDBus tests] 2012-10-19 00:44:54 +02:00
gui Remove QWindow pos, geometry and size as properties; pos->position 2012-11-08 15:01:30 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network speed up tst_QLocalSocket::readBufferOverflow 2012-11-02 15:59:57 +01:00
opengl Change the default major version of QGLFormat to 2. 2012-10-19 02:43:05 +02:00
other Accessibility Linux: Do not depend on external libatspi2 2012-11-08 16:59:50 +01:00
printsupport Only use the user set page margins for custom paper 2012-10-30 12:53:46 +01:00
shared Auto tests: add PlatformClipboard::isAvailable() 2012-09-27 06:07:13 +02:00
sql fix binding of bool type in mysql driver 2012-11-09 00:37:42 +01:00
testlib add a .qmake.conf file which load()s qt_build_config 2012-10-18 17:42:40 +02:00
tools Fix qmake's pro file cache to interact correctly with write_file 2012-10-25 16:22:00 +02:00
widgets Do not call QWidget::show/hideEvent twice 2012-11-08 15:01:52 +01:00
xml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
auto.pro Test: Redo remove QSKIP from printsupport tests 2012-09-13 19:33:08 +02:00
network-settings.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtest-config.h Auto tests: revise cursor dependant tests 2012-10-13 05:51:19 +02:00
test.pl Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00