diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-09-25 22:00:07 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-25 22:00:07 +0900 |
commit | 4f12139a22f70ff0abc1709b8888011f8bfee42c (patch) | |
tree | 7ee8310a3727a51a8a7f5e2bcf95427488930057 /activerecord/lib/arel/nodes/select_core.rb | |
parent | 4f3eb86ffec8ebc4faea3143dda8ebb5aad74d08 (diff) | |
parent | 41b92914f89be855cc6af768f13fd5fc53c967fa (diff) | |
download | rails-4f12139a22f70ff0abc1709b8888011f8bfee42c.tar.gz rails-4f12139a22f70ff0abc1709b8888011f8bfee42c.tar.bz2 rails-4f12139a22f70ff0abc1709b8888011f8bfee42c.zip |
Merge pull request #33977 from marshall-lee/abandon-top-support
Abandon TOP support.
Diffstat (limited to 'activerecord/lib/arel/nodes/select_core.rb')
-rw-r--r-- | activerecord/lib/arel/nodes/select_core.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/activerecord/lib/arel/nodes/select_core.rb b/activerecord/lib/arel/nodes/select_core.rb index 2defe61974..73461ff683 100644 --- a/activerecord/lib/arel/nodes/select_core.rb +++ b/activerecord/lib/arel/nodes/select_core.rb @@ -3,13 +3,12 @@ module Arel # :nodoc: all module Nodes class SelectCore < Arel::Nodes::Node - attr_accessor :top, :projections, :wheres, :groups, :windows + attr_accessor :projections, :wheres, :groups, :windows attr_accessor :havings, :source, :set_quantifier def initialize super() @source = JoinSource.new nil - @top = nil # https://ronsavage.github.io/SQL/sql-92.bnf.html#set%20quantifier @set_quantifier = nil @@ -43,7 +42,7 @@ module Arel # :nodoc: all def hash [ - @source, @top, @set_quantifier, @projections, + @source, @set_quantifier, @projections, @wheres, @groups, @havings, @windows ].hash end @@ -51,7 +50,6 @@ module Arel # :nodoc: all def eql?(other) self.class == other.class && self.source == other.source && - self.top == other.top && self.set_quantifier == other.set_quantifier && self.projections == other.projections && self.wheres == other.wheres && |