null+****@clear*****
null+****@clear*****
2010年 8月 13日 (金) 14:34:04 JST
Kouhei Sutou 2010-08-13 05:34:04 +0000 (Fri, 13 Aug 2010)
New Revision: 2d6c62b035b0566420acf29935df368e035e3966
Log:
support 'null' literal in grn-expression.
Modified files:
lib/expr.c
Modified: lib/expr.c (+1 -0)
===================================================================
--- lib/expr.c 2010-08-16 06:35:58 +0000 (b61a919)
+++ lib/expr.c 2010-08-13 05:34:04 +0000 (9a8ffbf)
@@ -1132,6 +1132,7 @@ grn_expr_append_const(grn_ctx *ctx, grn_obj *expr, grn_obj *obj,
} else {
if ((res = const_new(ctx, e))) {
switch (obj->header.type) {
+ case GRN_VOID :
case GRN_BULK :
case GRN_UVECTOR :
GRN_OBJ_INIT(res, obj->header.type, 0, obj->header.domain);