liquibase.snapshot.jvm.MySQLDatabaseSnapshotGenerator.schemaCache never invalidated?

liquibase.snapshot.jvm.MySQLDatabaseSnapshotGenerator has a ‘schemaCache’ variable that presumably caches the schema, but is never invalidated.  Over a long run of changes we’d occasionally see an NPE on a table that had other modifications done to it in other changeSets, but wouldn’t happen on a second run.

I commented out the caching lookup and the issue went away, implying it’s never invalidated.

I think what’s happening is that if you make a two changesets on a single table, and have preConditions, the preConditions will fail.