Issue #3108540 by Beakerboy, bronk: The format of the deprecation errors in core database classes is incorrect (cherry picked from commit aca5ddda)