Code

parser: Add support for <expr> IS [NOT] TRUE / FALSE queries.
[sysdb.git] / src / parser / analyzer.c
index e03cbdbc3d2e9ff259e9d18f6729bf9751e920b7..f352a0d630cf2ae5d7e69534658e4493724a1e3e 100644 (file)
@@ -155,6 +155,8 @@ analyze_logical(int context, sdb_ast_op_t *op, sdb_strbuf_t *errbuf)
                break;
 
        case SDB_AST_ISNULL:
+       case SDB_AST_ISTRUE:
+       case SDB_AST_ISFALSE:
                if (analyze_node(context, op->right, errbuf))
                        return -1;
                break;