Opened 9 years ago

Closed 9 years ago

#3806 closed (duplicate)

Commenting INSERT statements causes error in fixtures

Reported by: joe4444 Owned by: adrian
Component: Tools Version: master
Severity: Keywords: fixtures sql comment
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


"Normal" comments are no problem, but when I try to comment an INSERT statement in one of my sql/modelname.sql files then run ./ reset appname it doesn't know how to handle the commented SQL and dies. For example:

--This file populates the db tables with initial data.        # no problem
--INSERT INTO "myapp_foobar" ("blah") VALUES ('asdf');        # cannot be processed

Change History (1)

comment:1 Changed 9 years ago by Simon G. <dev@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

#4680 should fix this.

Note: See TracTickets for help on using tickets.
Back to Top