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

  * status:  closed => reopened
  * resolution:  wontfix =>
  * stage:  Design decision needed => Accepted

Comment:

 Replying to [comment:17 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?

 Reopening (and accepting) on the basis of this suggestion. This sounds
 workable to me, although it's the python binding version that is
 important, not the database version itself.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3214#comment:18>
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-upda...@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