Database patches without a trailing semi-colon fail in replicated environment

Bug #689642 reported by Henning Eggers
8
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.

Tom Haddon (mthaddon)
tags: added: canonical-losa-lp
Gary Poster (gary)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in launchpad:
assignee: nobody → Stuart Bishop (stub)
tags: added: qa-needstesting
Changed in launchpad:
status: Triaged → Fix Committed
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Stuart Bishop (stub)
tags: added: qa-ok
removed: qa-needstesting
Changed in launchpad:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
milestone: none → 11.01
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.