Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.2
-
None
-
Windows XP Prof SP3, Microsoft Developer Studio 2008
-
85b624a969c2674f726b6e80af1418bdd9f91969
Description
If you have a model view with QSqlQueryModel and the query remains open (which is normal) you are not able to start a transaction to do something else.
The databse will complain with ORA-01453: SET TRANSACTION must be first statement of transaction Unable to begin transaction.
I believe that the bug for that is based in qsql_oci.cpp line 1967
< // mode = OCI_DEFAULT;
> mode = d->transaction ? OCI_DEFAULT : OCI_COMMIT_ON_SUCCESS;
In my application it works fine.
Attachments
For Gerrit Dashboard: QTBUG-18608 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
30900,2 | qsql_oci: use OCI_COMMIT_ON_SUCCESS for SELECT without transaction | master | qt/qtbase | Status: MERGED | +2 | 0 |