#16490: For select_for_update feature: DatabaseError not raised as expected when
NOWAIT not supported; mult thread test also failing (on MySQL)
-------------------------------------+-------------------------------------
               Reporter:  jsdalton   |          Owner:  nobody
                   Type:  Bug        |         Status:  reopened
              Milestone:             |      Component:  Testing framework
                Version:  SVN        |       Severity:  Normal
             Resolution:             |       Keywords:
           Triage Stage:  Ready for  |      Has patch:  1
  checkin                            |    Needs tests:  0
    Needs documentation:  0          |  Easy pickings:  1
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------

Comment (by russellm):

 I've worked out the cause of the other problem -- it's the old "Python
 2.6.1 eats exceptions" problem. The DatabaseError raised when NOWAIT isn't
 available is eaten by the iteration process in execute_sql. This only
 affects Python 2.6.1; our approach on other instances of this problem has
 been to skip the test, rather than try and work around a bug that exists
 in one version of Python.

 A fix will be landing shortly.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16490#comment:10>
Django <https://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.

Reply via email to