Skip to content

Commit

Permalink
pat: export max total key size to Groonga internal
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 3, 2016
1 parent 7bc071b commit 0e2c485
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions lib/grn_pat.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ extern "C" {
#endif

#define GRN_PAT_MAX_KEY_SIZE GRN_TABLE_MAX_KEY_SIZE
#define GRN_PAT_MAX_TOTAL_KEY_SIZE (UINT32_MAX - 1)

struct _grn_pat {
grn_db_obj obj;
Expand Down
2 changes: 0 additions & 2 deletions lib/pat.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@

#define GRN_PAT_BIN_KEY 0x70000

#define GRN_PAT_MAX_TOTAL_KEY_SIZE (UINT32_MAX - 1)

typedef struct {
grn_id lr[2];
/*
Expand Down

0 comments on commit 0e2c485

Please sign in to comment.