Skip to content
Browse files

- Fixed mean bug in Clause.

- Version push.
  • Loading branch information...
1 parent 269e39b commit ede0eda75bcefd1dd2431d77136a38fcb528c153 Tobias Fuchs committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/lore/clause.rb
  2. BIN lore-0.9.4.gem
View
4 lib/lore/clause.rb
@@ -308,10 +308,10 @@ def ==(value)
def <=>(value)
if(value.is_a?(Symbol) && value == :NULL) then
- @value_string = "#{@field_name} NOT NULL"
+ @value_string = "#{@field_name} != NULL"
else
value = Lore.parse_field_value(value)
- @value_string = "#{@field_name} = (#{value})"
+ @value_string = "#{@field_name} != (#{value})"
end
Clause.new(@value_string, @left_side+@value_string, '', @plan)
end
View
BIN lore-0.9.4.gem
Binary file not shown.

0 comments on commit ede0eda

Please sign in to comment.
Something went wrong with that request. Please try again.