diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-26 08:48:09 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-26 08:48:09 -0700 |
commit | 2aac990e4d68cc3cbf86ecc9565723b07f22c962 (patch) | |
tree | ef905cfffe43295268b7dc963a4b263b1598ce6a /lib/arel | |
parent | 83a5d4d4e37a2c72824315597cb8b737f37b7960 (diff) | |
parent | bca49f4e5beaa135a9b96270426968793550b708 (diff) | |
download | rails-2aac990e4d68cc3cbf86ecc9565723b07f22c962.tar.gz rails-2aac990e4d68cc3cbf86ecc9565723b07f22c962.tar.bz2 rails-2aac990e4d68cc3cbf86ecc9565723b07f22c962.zip |
Merge pull request #77 from ebeigarts/master
Support locking in Oracle
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/visitors/oracle.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/visitors/oracle.rb b/lib/arel/visitors/oracle.rb index 375f7dbfe9..43a382886c 100644 --- a/lib/arel/visitors/oracle.rb +++ b/lib/arel/visitors/oracle.rb @@ -3,6 +3,10 @@ module Arel class Oracle < Arel::Visitors::ToSql private + def visit_Arel_Nodes_Lock o + visit o.expr + end + def visit_Arel_Nodes_SelectStatement o o = order_hacks(o) |