Fixes #5110 undeprecates the db functions