Navigation Menu

Skip to content

Commit

Permalink
handle grn_builtin_type.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikdttr committed Jul 27, 2009
1 parent 020997d commit 13380ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/test-driver.c
Expand Up @@ -312,11 +312,13 @@ void test_mrn_drop_from_other_ctx()
info->columns[0]->name = "c1";
info->columns[0]->name_size = strlen("c1");
info->columns[0]->flags |= GRN_OBJ_COLUMN_SCALAR;
info->columns[0]->gtype = GRN_DB_INT32;
info->columns[0]->type = grn_ctx_at(ctx, GRN_DB_INT32);

info->columns[1]->name = "c2";
info->columns[1]->name_size = strlen("c2");
info->columns[1]->flags |= GRN_OBJ_COLUMN_SCALAR;
info->columns[1]->gtype = GRN_DB_TEXT;
info->columns[1]->type = grn_ctx_at(ctx, GRN_DB_TEXT);

cut_assert_equal_int(0, mrn_create(ctx, info));
Expand Down

0 comments on commit 13380ab

Please sign in to comment.