The log file format changed in the Berkeley DB 4.2 release. No database formats changed in the Berkeley DB 4.2 release.
For further information on upgrading Berkeley DB installations, see Upgrading Berkeley DB installations.