Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mssql] Don't share connections between threads
Starting with Qt 5.11, sharing the same connection between threads is not allowed. Use a dedicated connection for each thread requiring access to the database, using the thread address as connection name. https://bugreports.qt.io/browse/QTBUG-68486 indicates that this change is by design and that sharing connections between threads was always unsafe. Fixes broken mssql provider on Qt 5.11, and possibly who know what issues on earlier Qt. Ported from mumble-voip/mumble@a3814e3
- Loading branch information
Showing with 6 additions and 0 deletions.