diff options
author | Michael Kozono <mkozono@gmail.com> | 2017-11-27 07:37:23 +0300 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2017-12-02 02:26:42 +0300 |
commit | e5cf23dfcf22f5a82ec027212d0a178894ea2396 (patch) | |
tree | 411d88861e5b2fe7f99369edbb20eea8d8811e46 | |
parent | 3694fe0f3d43619174878805ba09f0943e1dbaad (diff) |
Ensure consistent column order
-rw-r--r-- | lib/gitlab/database.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/database.rb b/lib/gitlab/database.rb index 16308b308b2..4c40e8a528c 100644 --- a/lib/gitlab/database.rb +++ b/lib/gitlab/database.rb @@ -128,7 +128,7 @@ module Gitlab disable_quote = Array(disable_quote).to_set tuples = rows.map do |row| - row.keys.map do |k| + keys.map do |k| disable_quote.include?(k) ? row[k] : connection.quote(row[k]) end end |