The DB_LOCK_CONFLICT flag has been removed from the lock_detect interface. Applications specifying the DB_LOCK_CONFLICT flag should simply replace it with a flags argument of 0.
Copyright Sleepycat Software