Database patches without a trailing semi-colon fail in replicated environment
Bug #689642 reported by
Henning Eggers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Stuart Bishop |
Bug Description
If a patch is missing a trailing semi-colon, "make schema" will still happily apply it. But once it hits the replicated on environment on staging, it breaks the database upgrade. The reason seems to be that upgrade.py concatenates all database patches instead of executing them individually.
The fix should either replicate that behavior in "make schema" or add an extra check for trailing semi-colons to the process.
tags: | added: canonical-losa-lp |
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
milestone: | none → 11.01 |
To post a comment you must log in.
Fixed in db-stable r10059 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ db-stable/ revision/ 10059>.