liquibase/liquibase — pull request #206 by archi3315 (2013-11-12 19:39:42+00:00)
Title: TagDatabase change to use ORDEREXECUTED and expand expressions with changeLog parameters inside SQL files

Two commits:
1 - Changing tagDatabase sql generator to use ORDEREXECUTED column instead of DATEEXECUTED for almost all databases but mysql < 5. Also this approach will tag all the changeSets from the last one tagged, this will avoid overwriting previous tags.

2 - Expand all the expressions inside the SQL files used in the XML tag using the changeLog parameters. This allow us to have ${some.variable} inside the external SQL files.