Historically, the last two arguments to the Berkeley DB DB->join interface were a flags value followed by a reference to a memory location to store the returned cursor object. In the Berkeley DB 3.0 release, the order of those two arguments has been swapped for consistency with other Berkeley DB interfaces.
The application should be searched for any occurrences of DB->join. For each of these, the order of the last two arguments should be swapped.
Copyright Sleepycat Software