diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-07-10 18:31:59 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-07-10 18:31:59 +0000 |
commit | 21634e513fb78a2bac171f86f79e06b23fcdbf6d (patch) | |
tree | bf6c93d471d4e62210c54cf5783fb3a3f3c9728e | |
parent | aacfeba61b02bf92cb01c69001e3932d629712d3 (diff) | |
download | postgresql-21634e513fb78a2bac171f86f79e06b23fcdbf6d.tar.gz postgresql-21634e513fb78a2bac171f86f79e06b23fcdbf6d.zip |
Add extra argument for new pg_regexec API.
-rw-r--r-- | contrib/tsearch2/ispell/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/ispell/spell.c b/contrib/tsearch2/ispell/spell.c index cbb6b61a73f..54d0410af33 100644 --- a/contrib/tsearch2/ispell/spell.c +++ b/contrib/tsearch2/ispell/spell.c @@ -813,7 +813,7 @@ CheckAffix(const char *word, size_t len, AFFIX * Affix, char flagflags, char *ne data = (pg_wchar *) palloc((dat_len + 1) * sizeof(pg_wchar)); data_len = pg_mb2wchar_with_len(newword, data, dat_len); - if (!(err = pg_regexec(&(Affix->reg.regex), data, dat_len, NULL, 1, subs, 0))) + if (!(err = pg_regexec(&(Affix->reg.regex), data, dat_len, 0, NULL, 1, subs, 0))) { pfree(data); return newword; |