Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QSqlDriver::hasFeature(Transactions) returns false #28

Open
sadeqAlbana opened this issue Jul 21, 2022 · 3 comments
Open

QSqlDriver::hasFeature(Transactions) returns false #28

sadeqAlbana opened this issue Jul 21, 2022 · 3 comments

Comments

@sadeqAlbana
Copy link

so I'm not sure if this is a problem related to the linked dll or the compiled plugin or some incompatibility between the server and the connector but on windows Qt 5.15.3 and mysql server 8.0.29(on a linux host), this problem occurs.

@thecodemonkey86
Copy link
Owner

thecodemonkey86 commented Jul 22, 2022

Hi,

Qt 5.15.3

Which MySQL driver are you using? I wasn't able to provide a release for that particular Qt version yet

@sadeqAlbana
Copy link
Author

sorry, it's Qt 5.15.2 MSVC64, got it confused with my ubuntu installation.

@thecodemonkey86
Copy link
Owner

I can confirm this happens using Qt 5.15.2, but I currently don't understand why. With Qt 6.3.1 it's correct, using the same MySQL-Server (I got v8.0.21) and the same MySQL library. On the other hand, transactions work for me correctly anyway (i.e beginTransaction, rollbackTransaction and commitTransaction return true and leave the database in the expected state), even though hasFeature(Transactions) returns false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants