PDA

View Full Version : Different results using QSqlDatabase::tables(QSql::Tables) - Linux vs Windoz



ForestDweller
16th May 2010, 17:26
Hello,
I have a MySQL server containing several databases. Using the QSqlDatabase::tables(QSql::Tables) to obtain a list of tables in that opened database works as expected on Linux (it provides a list of the database tables). However, on Windoze, the exact same code produces a list of all tables from all databases on the server. This is very BAD. In both cases, the same database is opened with the same authentication.

Can anyone explain this and possibly provide a workaround? Your (knowledgeable) help would be appreciated greatly!

tbscope
16th May 2010, 19:25
No workaround, but the bug is known:
http://bugreports.qt.nokia.com/browse/QTBUG-10334