Opened 17 years ago
Closed 17 years ago
#6713 closed (wontfix)
';' in comments (i.e. lines starting with '--') in sql/mymodel.sql causes error in syncdb
Reported by: | alainD | Owned by: | nobody |
---|---|---|---|
Component: | Tools | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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 '--')
Change History (1)
comment:1 by , 17 years ago
Component: | Uncategorized → Tools |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is not a Django problem. If you're using MySQL it's actually a MySQL quirk: