File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ func (this *Applier) CreateGhostTable() error {
217217 if _ , err := tx .Exec (query ); err != nil {
218218 return err
219219 }
220- this .migrationContext .Log .Infof ("Ghost table altered " )
220+ this .migrationContext .Log .Infof ("Ghost table created " )
221221 if err := tx .Commit (); err != nil {
222222 // Neither SET SESSION nor ALTER are really transactional, so strictly speaking
223223 // there's no need to commit; but let's do this the legit way anyway.
@@ -226,11 +226,7 @@ func (this *Applier) CreateGhostTable() error {
226226 return nil
227227 }()
228228
229- if err != nil {
230- return err
231- }
232- this .migrationContext .Log .Infof ("Ghost table created" )
233- return nil
229+ return err
234230}
235231
236232// AlterGhost applies `alter` statement on ghost table
You can’t perform that action at this time.
0 commit comments