#11101: Oracle fails admin_view tests when the whole suite is run -- transaction
problem?
---------------------------------------------------+------------------------
Reporter: mboersma | Owner: mboersma
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords: oracle
transaction test
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by ikelly):
I've attached a patch that appears to fix the problem, although I haven't
yet run the entire test suite to verify. The patch drops the ALTER
SEQUENCE statements from the reset PL/SQL and instead just spins the
sequence until the sequence value is large enough to avoid a conflict with
an existing row. This way the current transaction is unaffected, at the
cost of reduced efficiency and that the reset code will no longer ever
decrease the sequence value. The latter is arguably a good thing anyway.
--
Ticket URL: <http://code.djangoproject.com/ticket/11101#comment:8>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.