Re: [Django] #2284: [patch] Extra /sql files with whitespace break syncdb

3 views
Skip to first unread message

Django

unread,
Oct 9, 2012, 2:50:26 PM10/9/12
to django-...@googlegroups.com
#2284: [patch] Extra /sql files with whitespace break syncdb
-------------------------------------+-------------------------------------
Reporter: scottanderson | Owner: nobody
Type: Bug | Status: new
Component: Core (Management | Version: master
commands) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: syncdb | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by claudep):

I think that the parsing solution leads us nowhere. It is not fair to
penalize all backends because some cannot execute multiple statements.
IMHO, we should have a backend-specific `load_sql` that take care of
either splitting the statements or to feed the database with the read file
at once.

--
Ticket URL: <https://code.djangoproject.com/ticket/2284#comment:26>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 11, 2013, 10:04:57 AM12/11/13
to django-...@googlegroups.com
#2284: [patch] Extra /sql files with whitespace break syncdb
-------------------------------------+-------------------------------------
Reporter: scottanderson | Owner: nobody
Type: Bug | Status: new
Component: Core (Management | Version: master
commands) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: syncdb | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by merb):

this ticket seems to be fixed.

--
Ticket URL: <https://code.djangoproject.com/ticket/2284#comment:27>

Django

unread,
Dec 12, 2013, 3:09:55 AM12/12/13
to django-...@googlegroups.com
#2284: [patch] Extra /sql files with whitespace break syncdb
-------------------------------------+-------------------------------------
Reporter: scottanderson | Owner: nobody
Type: Bug | Status: closed

Component: Core (Management | Version: master
commands) | Resolution: duplicate

Severity: Normal | Triage Stage: Accepted
Keywords: syncdb | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by claudep):

* status: new => closed
* resolution: => duplicate


Comment:

In any case, custom sql loading is handled in #3214.

--
Ticket URL: <https://code.djangoproject.com/ticket/2284#comment:28>

Reply all
Reply to author
Forward
0 new messages