v.20.4Bug Fix

Fix Access Checking to Use Current Database When Not Specified

Fix using the current database for an access checking when the database isn't specified. #10192 (Vitaly Baranov)