Page MenuHomePhabricator

Wrap initial table creation in transaction
Closed, ResolvedPublic

Description

Due to a local snafu one of the last lines in my tables.sql contained an SQL error. This caused all tables to be created, then that line to fail and the lines below to be skipped. However, when running the installer again it refused to run tables.sql because the tables were already there.

We should wrap the inital table creation in a transaction so any failure anywhere in tables.sql causes no tables to be created whatsoever.


Version: 1.17.x
Severity: enhancement

Details

Reference
bz26733

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:22 PM
bzimport set Reference to bz26733.
bzimport added a subscriber: Unknown Object (MLST).
Catrope created this task.Jan 14 2011, 8:35 PM