Clear isOpenError flag on successful open call
authorTobias Koenig <tobias.koenig.qnx@kdab.com>
Mon, 2 Dec 2013 12:29:10 +0000 (13:29 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 2 Dec 2013 19:26:16 +0000 (20:26 +0100)
commita774aa69db918dc6719e160e70780f3b644c62ca
treeae4781bd60b6f2bcbd3f9e54562dcb6393e19569
parent6a6f1e3c7efc3614a4160852ccdc7534252dcdd4
Clear isOpenError flag on successful open call

Clear the isOpenError flag in IBase driver if the QIBaseDriver::open()
call was successful, otherwise a previous, unsuccessful open() call would
block any further QSqlQuery::exec() calls on this database connection.

Task-number: QTBUG-13435
Change-Id: Idc64e28cd63805a13f208702ec87dc1bf6b98798
[ChangeLog][QtSql][QIBASE] Fixed the internal state of IBase driver after a failed open call
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
src/sql/drivers/ibase/qsql_ibase.cpp