#27397: Querying with an integer larger than SQLite supports crashes with
OverflowError
-------------------------------------+-------------------------------------
     Reporter:  Ramin Farajpour      |                    Owner:  Ramin
  Cami                               |  Farajpour Cami
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  1.10
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  SQLite, Error        |             Triage Stage:  Accepted
  Handling                           |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Ramin Farajpour Cami):

 do you confirm fix and patch for PR?


 {{{
 https://github.com/django/django/blob/master/tests/queries/modles.py

 class Ticket27397(models.Model):
     id = models.AutoField(primary_key=True)
     name = models.CharField(max_length=10)

 https://github.com/django/django/blob/master/tests/queries/tests.py

     def test_ticket27397(self):
 
self.assertEqual(len(Ticket27397.objects.filter(id=111111111111111111111111111111111111)),0)

 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27397#comment:28>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.c1c8bd7183efd9324971a29de5a32ec1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to