Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
mingw
-
0de6c52bfe2433eca768a5f6fe9d5f08a545c254
Description
QMYSQLDriver::open() calls
if (mysql_real_connect(d->mysql, ...
(E:\Qt\Qt5.5.0\5.5\Src\qtbase\src\sql\drivers\mysql\qsql_mysql.cpp:1285)
but that 'if' doesn't have 'else' statement, so when mysql_real_connect fails, Qt thinks anyway that all is fine.