select db in pipeline fixed

There is bug in

r.pipeline do |p|
  p.select 1
end