Bug report #13938

Extra space in "IS NOT" operator makes the expression return wrong selection

Added by Giovanni Manghi over 8 years ago. Updated about 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Expressions
Affected QGIS version:2.8.3 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:21955

Description

Description to follow.

Associated revisions

Revision 5d989abd
Added by Jürgen Fischer about 8 years ago

fix parsing of IS NOT and NOT LIKE, NOT ILIKE and dumping of IS (NOT ...) (fixes #13938)

History

#1 Updated by Nyall Dawson over 8 years ago

  • Status changed from Open to Feedback

Setting to feedback just in case the extra detail doesn't come ;)

#2 Updated by Sebastian Dietrich over 8 years ago

@Giovanni Manghi:
Good catch!

If I may add the extra detail here:

1 IS NOT 2
evaluates to 1
1 IS  NOT 2
evaluates to 0
1 IS (NOT 2)
evaluates to 0, too

#3 Updated by Giovanni Manghi over 8 years ago

  • Status changed from Feedback to Open

that's it.

#4 Updated by Jürgen Fischer about 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF