Skip to content

Fix undefined method quote when database load balancing is used

Lin Jen-Shin requested to merge fix-quote-for-connection-proxy into master

What does this MR do?

Just call quote in case it's a connection proxy

Why was this MR needed?

Because 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?

What are the relevant issue numbers?

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/35097

Edited by Lin Jen-Shin

Merge request reports