diff options
Diffstat (limited to 'libraries/qt4/patches/0234-fix-mysql-threaded.diff')
-rw-r--r-- | libraries/qt4/patches/0234-fix-mysql-threaded.diff | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libraries/qt4/patches/0234-fix-mysql-threaded.diff b/libraries/qt4/patches/0234-fix-mysql-threaded.diff deleted file mode 100644 index 4c5b6136b8..0000000000 --- a/libraries/qt4/patches/0234-fix-mysql-threaded.diff +++ /dev/null @@ -1,32 +0,0 @@ -qt-bugs@ issue : N217716 -Trolltech task ID : 217788 -bugs.kde.org number : no report -applied: no -author: Tobias Koenig <tokoe@kde.org> - -This patch will fix the handling of connections to -mysql server in a multithreaded environment - ---- src/sql/drivers/mysql/qsql_mysql.cpp (revision 804421) -+++ src/sql/drivers/mysql/qsql_mysql.cpp (working copy) -@@ -1215,6 +1215,10 @@ - d->preparedQuerysEnabled = false; - #endif - -+#ifndef QT_NO_THREAD -+ mysql_thread_init(); -+#endif -+ - setOpen(true); - setOpenError(false); - return true; -@@ -1223,6 +1227,9 @@ - void QMYSQLDriver::close() - { - if (isOpen()) { -+#ifndef QT_NO_THREAD -+ mysql_thread_end(); -+#endif - mysql_close(d->mysql); - setOpen(false); - setOpenError(false); |