Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 160594 Details for
Bug 250564
Bug in QSqlDatabase::removeDatabase(db);
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch against qt-3.3.8 which fixes this problem (from mythtv lists)
qt3-mysql-unload-crash.diff (text/plain), 1.12 KB, created by
Tim Smith
on 2007-08-03 10:26:43 UTC
(
hide
)
Description:
Patch against qt-3.3.8 which fixes this problem (from mythtv lists)
Filename:
MIME Type:
Creator:
Tim Smith
Created:
2007-08-03 10:26:43 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 250564
: 160594