Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
qt3-extensions
qt3-mysql-force-latin1.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qt3-mysql-force-latin1.diff of Package qt3-extensions
Index: b/src/sql/drivers/mysql/qsql_mysql.cpp =================================================================== --- a/src/sql/drivers/mysql/qsql_mysql.cpp +++ b/src/sql/drivers/mysql/qsql_mysql.cpp @@ -530,6 +530,12 @@ bool QMYSQLDriver::open( const QString& setOpenError( TRUE ); return FALSE; } + +#if (MYSQL_VERSION_ID >= 40113 && MYSQL_VERSION_ID < 50000) || MYSQL_VERSION_ID >= 50007 + // force the communication to be latin1 + mysql_set_character_set(d->mysql, "latin1"); +#endif + setOpen( TRUE ); setOpenError( FALSE ); return TRUE;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor