As pointed out in node 4828, the previous commit used ALTER TABLE IF EXISTS which is not valid MySQL syntax.  IF EXISTS has been removed.