#9719: Strings which look like numbers are not quoted, MySQL
---------------------------------------------------+------------------------
          Reporter:  anonymous                     |         Owner:  nobody
            Status:  new                           |     Milestone:        
         Component:  Database layer (models, ORM)  |       Version:  1.0   
        Resolution:                                |      Keywords:        
             Stage:  Unreviewed                    |     Has_patch:  0     
        Needs_docs:  0                             |   Needs_tests:  0     
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by mtredinnick):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 You are confusing a couple of things here. Not denying there's a bug
 (although your description seems to involve a lot of steps to repeat it).
 However, the output of connection.queries is not exactly what is passed to
 the database. The database wrapper (the bit between Django and the
 database) does parameter quoting. We have no way of accessing that quoting
 function (it's not public API), so we just print out the value without
 quotes. Thus, the output of connection.queries is not a reliable indicator
 of the bytes sent to the database.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9719#comment:1>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to