Regarding my initial request on this: http://lists.openstreetmap.org/pipermail/osmosis-dev/2012-November/001409.html I have fixed the problem by updating our debian server, which has changed the MySQL version from 5.1.49-3-log to 5.1.63-0+squeeze1-log.