Navigation Menu

Skip to content

Commit

Permalink
fixed grn_table_cursor_open parameters for api_sample.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ikdttr committed Mar 16, 2010
1 parent b3e5655 commit 256ac97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/api_sample.c
Expand Up @@ -168,7 +168,7 @@ void test_sample_expression()
cut_assert_not_null(res);
cut_assert_equal_int(3, grn_table_size(ctx, res));

tc = grn_table_cursor_open(ctx, res, NULL, 0, NULL, 0, 0, 0, 0);
tc = grn_table_cursor_open(ctx, res, NULL, 0, NULL, 0, 0, -1, 0);
int i;
for (i=5; i<=7; i++)
{
Expand Down

0 comments on commit 256ac97

Please sign in to comment.