Permalink
Browse files

Use new SelectManager#source method

  • Loading branch information...
1 parent cc206a3 commit c3dcb795f17017cb8c3f819a30e89136540e9584 @jonleighton jonleighton committed Aug 11, 2011
@@ -593,7 +593,7 @@ def join_to_update(update, select) #:nodoc:
update.where update.key.in(subselect)
else
- update.table select.ast.cores.last.source
+ update.table select.source
update.wheres = select.constraints
end
end
@@ -507,7 +507,7 @@ def join_to_update(update, select) #:nodoc:
update.where update.key.in(subselect)
else
- update.table select.ast.cores.last.source
+ update.table select.source
update.wheres = select.constraints
end
end

0 comments on commit c3dcb79

Please sign in to comment.