Navigation Menu

Skip to content

Commit

Permalink
Fix wrong error code
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 10, 2012
1 parent e3f87bd commit 8077044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db.c
Expand Up @@ -8665,7 +8665,7 @@ set_vector(grn_ctx *ctx, grn_obj *column, grn_id id, grn_obj *vector)
}
if (element == &casted_element) { GRN_OBJ_FIN(ctx, element); }
} else {
ERR(GRN_ERROR, "bad syntax.");
ERR(GRN_INVALID_ARGUMENT, "bad syntax.");
}
v = values_next(ctx, v);
}
Expand Down

0 comments on commit 8077044

Please sign in to comment.