author | Sebastian Harl <sh@tokkee.org> | |
Tue, 21 Oct 2014 07:13:47 +0000 (09:13 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 21 Oct 2014 07:13:47 +0000 (09:13 +0200) | ||
commit | 241a7b9ab622e84960471bc9c70fbedccbbdff2d | |
tree | 3dc978bb693fdca4a82e2c8aac2f4e799e300f9e | tree | snapshot |
parent | a8c781d6922ccd505b2d5830c391affaec0e9d44 | commit | diff |
frontend/grammar: Unified field and attribute value matchers.
Use generic expressions and the new compare matchers instead.
As a side-effect of this change, not-operators (!=, etc.) no longer match on
NULL values (attribute does not exist). This is intended and should have been
like this in the first place (we've got 'IS NULL' for that purpose). For
example, `attribute['foo'] != 123' did previously match if attribute 'foo' did
not exist but now this is no longer the case.
Use generic expressions and the new compare matchers instead.
As a side-effect of this change, not-operators (!=, etc.) no longer match on
NULL values (attribute does not exist). This is intended and should have been
like this in the first place (we've got 'IS NULL' for that purpose). For
example, `attribute['foo'] != 123' did previously match if attribute 'foo' did
not exist but now this is no longer the case.
src/frontend/grammar.y | diff | blob | history | |
t/unit/core/store_lookup_test.c | diff | blob | history | |
t/unit/frontend/parser_test.c | diff | blob | history |