diff options
author | Edgars Beigarts <edgars.beigarts@makit.lv> | 2011-08-26 20:01:00 +0300 |
---|---|---|
committer | Edgars Beigarts <edgars.beigarts@makit.lv> | 2011-08-26 20:01:58 +0300 |
commit | 481ccefedd407c1f8941596b03e72cfe35c42d41 (patch) | |
tree | 246d9abe8c1d4a428c450276ef25d67d06161827 /lib/arel/visitors/to_sql.rb | |
parent | 2aac990e4d68cc3cbf86ecc9565723b07f22c962 (diff) | |
download | rails-481ccefedd407c1f8941596b03e72cfe35c42d41.tar.gz rails-481ccefedd407c1f8941596b03e72cfe35c42d41.tar.bz2 rails-481ccefedd407c1f8941596b03e72cfe35c42d41.zip |
Support locking by default and disable it only for SQLite.
Diffstat (limited to 'lib/arel/visitors/to_sql.rb')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index d424f8602e..b414234766 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -200,9 +200,8 @@ key on UpdateManager using UpdateManager#key= "" end - # FIXME: this does nothing on SQLLite3, but should do things on other - # databases. def visit_Arel_Nodes_Lock o + visit o.expr end def visit_Arel_Nodes_Grouping o |