fix db_vendor_id check; non-RDBMS will be null