#6713: ';' in comments (i.e. lines starting with '--') in sql/mymodel.sql causes
error in syncdb
-----------------------+----------------------------------------------------
Reporter: alainD | Owner: nobody
Status: new | Component: Uncategorized
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
-----------------------+----------------------------------------------------
for instance the following script :
{{{
INSERT INTO "app_model" ("col1", "col2") VALUES (45, 107);
--INSERT INTO "app_model" ("col1", "col2") VALUES (45, 107);
INSERT INTO "app_model" ("col1", "col2") VALUES (45, 107);
}}}
causes an error while importing it via syncdb ... because of the commented
line (starting with '--')
--
Ticket URL: <http://code.djangoproject.com/ticket/6713>
Django Code <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
-~----------~----~----~----~------~----~------~--~---