RollbackCount does not commit?

Hi,


When I execute a rollbackCount command on the command line, Liquibase tells me everything is ok, but the dataase remains unchanged. Does it “forget” to commit? Or is it my fault somehow?


Output:

INFO 27.07.12 10:10:liquibase: Successfully acquired change log lock

INFO 27.07.12 10:10:liquibase: Reading from DATABASECHANGELOG

INFO 27.07.12 10:10:liquibase: Successfully released change log lock

Liquibase Rollback Successful


Command line:

liquibase --classpath=mysql-connector-java-5.1.18-bin.jar --changeLogFile=changelog-master.xml rollbackCount 1


Versions:

Liquibase: 2.0.5

MySQL: 5.0.96


Thanks,

Mischa

I found the reason for the problem:

The ‘update’-steps have been performed with Maven, whereas I tried to perform the rollback on the command-line. The Maven-Config used a slightly different path for the change-log-file compared to that on the command-line. Thus the rollback command did not find anything to rollback in the databasechangelog and simply exited with a no-op.


Cheers

Mischa