-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.7.1, 4.7.2, 5.4.2
-
None
-
linux Ubuntu 10.10
The Oracle SQL driver is not working correctly, executing the attached test, all tuples after the rollback remain on the table, the patch is the following for qsql_oci.cpp :
< const bool *transaction;
—
> bool transaction;
1534c1534
< *d->transaction ? OCI_DEFAULT : OCI_COMMIT_ON_SUCCESS);
—
> d->transaction ? OCI_DEFAULT : OCI_COMMIT_ON_SUCCESS);
1770c1770
< sql(0), transaction(&driver->transaction), serverVersion(driver->serverVersion),
—
> sql(0), transaction(driver->transaction), serverVersion(driver->serverVersion),
1970c1970
< mode = *d->transaction ? OCI_DEFAULT : OCI_COMMIT_ON_SUCCESS;
—
> mode = d->transaction ? OCI_DEFAULT : OCI_COMMIT_ON_SUCCESS;
- relates to
-
QTBUG-1885 Transactions may not work when using the QOCI driver
-
- Closed
-