Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilconway committed Apr 19, 2013
1 parent 93ec56c commit 1a1e05e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lib/bud/executor/join.rb
Expand Up @@ -444,14 +444,7 @@ module PushSHOuterJoin
# XXX: duplicates code from PushSHJoin
private
def insert_item(item, offset)
if @left_is_array and offset == 1
the_key = @keys.map do |k|
left_subtuple, left_offset = k.first
item[left_subtuple][left_offset]
end
else
the_key = item.values_at(*@key_attnos[offset])
end
the_key = item.values_at(*@key_attnos[offset])

#build
# puts "building #{item.inspect} into @source[#{offset}] on key #{the_key.inspect}"
Expand Down

0 comments on commit 1a1e05e

Please sign in to comment.