Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 21634e5

Browse files
committed
Add extra argument for new pg_regexec API.
1 parent aacfeba commit 21634e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/tsearch2/ispell/spell.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ CheckAffix(const char *word, size_t len, AFFIX * Affix, char flagflags, char *ne
813813
data = (pg_wchar *) palloc((dat_len + 1) * sizeof(pg_wchar));
814814
data_len = pg_mb2wchar_with_len(newword, data, dat_len);
815815

816-
if (!(err = pg_regexec(&(Affix->reg.regex), data, dat_len, NULL, 1, subs, 0)))
816+
if (!(err = pg_regexec(&(Affix->reg.regex), data, dat_len, 0, NULL, 1, subs, 0)))
817817
{
818818
pfree(data);
819819
return newword;

0 commit comments

Comments
 (0)