Fix undefined method quote when database load balancing is used
What does this MR do?
quote in case it's a connection proxy
Why was this MR needed?
Gitlab::Database::LoadBalancing::ConnectionProxy does not implement everything from the original connection class, but use
method_missing so we need to "call" it directly.
Does this MR meet the acceptance criteria?
- Changelog entry added, if necessary