tickets: 2044
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2044 | 2006-05-31 03:10:02 | 2006-10-24 20:17:23 | 2022-03-06 03:24:57.586410 | Unreviewed | closed | Translations | task | major | fixed | [patch] sqlinitialdata is ignoring semi-colons | currently it seems to be stripping of the semi-colons at the end of a SQL statement.. which means mysql can't import. {{{ Index: management.py =================================================================== --- management.py (revision 3007) +++ management.py (working copy) @@ -336,7 +336,7 @@ (?:[^;'"]+) # not the end of a statement or start of a quote | (?:'[^']*') # something in single quotes | (?:"[^"]*") # something in double quotes - )+)""", re.VERBOSE) + )+;?)""", re.VERBOSE) # Find custom SQL, if it's available. sql_files = [os.path.join(app_dir, "%s.%s.sql" % (opts.object_name.lower(), settings.DATABASE_ENGINE)), }}} | adrian | ian@holsman.net | 0 | 1 | 0 | 0 | 0 | 0 |