#3214: [patch] raw sql file doesn't recognize quotes correctly
---------------------------------------------------+------------------------
          Reporter:  shaunc <sh...@cuttshome.net>  |         Owner:  nobody
            Status:  closed                        |     Milestone:        
         Component:  Database layer (models, ORM)  |       Version:  SVN   
        Resolution:  wontfix                       |      Keywords:  rawsql
             Stage:  Design decision needed        |     Has_patch:  1     
        Needs_docs:  0                             |   Needs_tests:  1     
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by akaihola):

 Replying to [comment:15 aseer...@mit.edu]:
 > Curious: Does anyone watching this ticket, know offhand which DB
 backends/engines actually don't support multiple statements?  I tend to
 agree with Shaun that the best long-term fix is to add support into the
 lower-level code.

 I tested PostgreSQL, SQLite and MySQL on Ubuntu 9.04, and SQLite was the
 only one not supporting multiple statements.

 Would it make sense to add a
 {{{
 django.backends.*.DatabaseFeatures.accepts_multiple_statements
 }}}
 attribute and do the `statements.split()` dance only when needed?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3214#comment:17>
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to