Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 114131 Details for
Bug 171883
x11-libs/qt-3.3.8 segfaults on exit when using mysql DB driver
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Qt3 MySQL unload crash fix from SUSE
qt3-mysql-unload-crash.diff (text/plain), 1.12 KB, created by
Brad House
on 2007-03-23 14:46:27 UTC
(
hide
)
Description:
Qt3 MySQL unload crash fix from SUSE
Filename:
MIME Type:
Creator:
Brad House
Created:
2007-03-23 14:46:27 UTC
Size:
1.12 KB
patch
obsolete
>--- src/sql/drivers/mysql/qsql_mysql.cpp >+++ src/sql/drivers/mysql/qsql_mysql.cpp >@@ -37,7 +37,6 @@ > #include "qsql_mysql.h" > #include <private/qsqlextension_p.h> > >-#include <qapplication.h> > #include <qdatetime.h> > #include <qvaluevector.h> > #include <qsqlrecord.h> >@@ -341,14 +340,6 @@ int QMYSQLResult::numRowsAffected() > } > > ///////////////////////////////////////////////////////// >-static void qServerEnd() >-{ >-#ifndef Q_NO_MYSQL_EMBEDDED >-# if MYSQL_VERSION_ID >= 40000 >- mysql_server_end(); >-# endif // MYSQL_VERSION_ID >-#endif // Q_NO_MYSQL_EMBEDDED >-} > > static void qServerInit() > { >@@ -366,9 +357,7 @@ static void qServerInit() > qWarning( "QMYSQLDriver::qServerInit: unable to start server." ); > # endif > } >- qAddPostRoutine(qServerEnd); > init = TRUE; >- > # endif // MYSQL_VERSION_ID > #endif // Q_NO_MYSQL_EMBEDDED > } >@@ -411,6 +400,11 @@ QMYSQLDriver::~QMYSQLDriver() > QSqlOpenExtension *ext = qSqlOpenExtDict()->take( this ); > delete ext; > } >+#ifndef Q_NO_MYSQL_EMBEDDED >+# if MYSQL_VERSION_ID > 40000 >+ mysql_server_end(); >+# endif >+#endif > } > > bool QMYSQLDriver::hasFeature( DriverFeature f ) const
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 171883
:
114127
| 114131