tickets: 8461
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8461 | 2008-08-20 23:14:11 | 2008-08-20 23:27:22 | 2022-03-06 03:42:20.249001 | Someday/Maybe | closed | Core (Management commands) | dev | wontfix | manage.py reset crashes running initial SQL if there's a #comment on the same line as valid SQL | manage.py reset can run initial SQL. If this SQL has valid SQL at the start, followed by a # comment, then it will fail with {{{_mysql_exceptions.ProgrammingError: (2014, "Commands out of sync; you can't run this command now")}}} It fails because the regex in sql.py doesn't check for '# comment' when parsing the SQL file. '# comment' is valid in (at least) MySQL. | nobody | niccl | 0 | 1 | 0 | 0 | 0 | 0 |